[UCC] DeterministicObjectManager and poor performance

PlayerZero

New member
Hi Justin,

We are encountering serious performance issues with UCC, we are seeing drops of 15-20 fps if we have UCC in our game. We narrowed it down to the DeterministicObjectManager.FixedUpdate.

We tried disabling CharacterIK, read this in another thread, but this didn't change anything.

Any suggestions on what to disable / remove to make UCC perform better?

On a related note, UCC has the Animator component disabled and you are calling explicitly Animator.Update()... however, in our tests, if we enable AnimatorManager."Debug Animator Controller", which in essence re-enables the Animator component, and lets Unity do the animator update, then UCC's performance improves noticeably.

Any idea why? Drawbacks of using UCC this way? (I saw the warning in the inspector).

Thanks!
 
There have been a couple of performance improvements in version 2.1 which we will hopefully be releasing within a few weeks. The improvements decrease the time it takes to detect collisions and also reduces the amount of work necessary for IK. I think that you'll see a pretty nice speed increase because of this. Beyond that you can disable any unnecessary features (such as horizontal collision detection for AI) or cull when the character is not in view which should help. If you also increase the timestep interval it'll also help with performance.

This page explains what debug animator controller is doing: https://opsive.com/support/document...oller/animation/animator/animator-controller/
 
Last edited:
Top