3rd person Camera Jittery

Shanmukh

Member
Capture.JPG
i didn't get any bottle neck. just this one.
this is on empty scene and i removed all character abilities and item abilities.
it moves forward direction smoothly, but when i turn camera it more jitters.
i didn't get this problem in old version.
i take fresh project and tested on demo scene in combat mode, get this problem. adventure mode running smoothly in demo scene, but not working on new scene.
 
Last edited:

Justin

Administrator
Staff member
You are running at 250FPS so that looks good. In version 2.2 the default is to update within the Update loop, but you can update within FixedUpdate by changing the location on the Ultimate Character Locomotion component. In prior versions it updated within FixedUpdate.
 

CSC

Member
I make a bulid, here is the result. The jittery is obvious.
 

Attachments

  • 1.png
    1.png
    215.4 KB · Views: 9
  • 2.png
    2.png
    220.6 KB · Views: 9

Justin

Administrator
Staff member
FinalIK is taking 30% of your time which is a lot of time. I'm not an expert in FinalIK so I can't help with that aspect, but 10% is higher than it should be. If you drill down what is taking the most amount of time? You are also running in FixedUpdate so you could decrease the fixed timestep within the time manager. Alternatively you could run within Update.
 

CSC

Member
But it doesn't solve my problem, even with a single capsule on a single plane. I don't know what happens.
I'm sure my scene is very simple, just a character walking on a terrian, and no trees.
 

Attachments

  • 1.png
    1.png
    122.9 KB · Views: 5
  • 2.png
    2.png
    56.4 KB · Views: 5
Last edited:

Justin

Administrator
Staff member
You'll want to report that to Unity - Device.Preset is taking 101ms and I'm not sure what that is.
 

blaurain

New member
I have the same issue, I tried even importing just this package into an empty project and I have the same problem in a the Third Person Controller demo scene. In my other scenes I don't have this problem it seems something specific to the character controller demo scene setup, I even tried removing everything in the scene except the camera, Nolan and the floor he's standing on and still have this frame rate problem. It's showing excessive use of EditorLoop but I don't have anything else imported into this project, just the Third Person Controller and demo scene. I also tried deleting my library and temp files and reimporting everything, it's still an issue in the demo scene and not my other scenes without third person controller. I did recently try updating to 2019.3 with the new input system and DOTS then downgraded my project and reset everything back to 2019.2.3f1 but it's possible something with the new input or rendering system is messing with the components? Thanks! I'm excited to use your controller!
 

Justin

Administrator
Staff member
It's showing excessive use of EditorLoop
EditorLoop seems to be causing a lot of issues. The more bug reports that Unity gets related to this the more likely it is that they will fix it.

possible something with the new input or rendering system is messing with the components?
I don't think so - it's whatever EditorLoop is doing that is causing the problem.
I'm excited to use your controller!
:)
 

blaurain

New member
Thanks Justin, I'll be sure to report this to Unity I just thought I'd let you know because it only seems to be happening in the Opsive demo scene, the rest of my game is running some pretty heavy stuff and tons of editor tools with no issue
 
Top