18-05-2021, 02:52 PM
(18-05-2021, 07:45 AM)josemendez Wrote: Hi,
How many times does FixedUpdate get called per frame? ("Calls" column in the profiler, hierarchy mode). If it's getting called more than once, this is a symptom of death spiralling.
This is an issue that affects all engines that use a fixed timestepping scheme, like Unity. It happens when the device can't update physics fast enough to keep up with wall-clock time.
Quick fix is to reduce Unity's max fixed timestep to a value that' a small multiple of the timestep. Eg, if you're using a timestep of 0.02, use a max fixed timestep of 0.04 or 0.06.
Ok I did that and won some FPS.. still, it goes a bit too low... anything else I can do?