Obi Official Forum

Full Version: Frequent spikes in ObiSolver.FixedUpdate()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use Obi Cloth latest version for character's cloak. and I use Unity 2018.4.4f1.

The cloak is moving good.
However in the Profiler, many spikes appear and reduces the FPS.
[attachment=386]
[attachment=387]

I didn't find why this spikes appear.
How do I fix this?
(08-08-2019, 10:24 AM)asimofu_ok Wrote: [ -> ]I use Obi Cloth latest version for character's cloak. and I use Unity 2018.4.4f1.

The cloak is moving good.
However in the Profiler, many spikes appear and reduces the FPS.



I didn't find why this spikes appear.
How do I fix this?

Hi,

Check in the profiler how many times FixedUpdate() is called during those spikes. If it is called more than once or twice, chances are your max fixed timestep setting is too high (found in Unity's Time manager).

If this is not the case, it's hard to tell other possible causes without taking a look at your scene and how you've setup things.

kind regards,
(08-08-2019, 10:47 AM)josemendez Wrote: [ -> ]Hi,

Check in the profiler how many times FixedUpdate() is called during those spikes. If it is called more than once or twice, chances are your max fixed timestep setting is too high (found in Unity's Time manager).

If this is not the case, it's hard to tell other possible causes without taking a look at your scene and how you've setup things.

kind regards,

I see. The FixedUpdate() calls just one...
I think I have to reduce the substeps.

Thaks for replying.