Obi Official Forum
Help Frequent spikes in ObiSolver.FixedUpdate() - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Help Frequent spikes in ObiSolver.FixedUpdate() (/thread-1306.html)



Frequent spikes in ObiSolver.FixedUpdate() - asimofu_ok - 08-08-2019

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?


RE: Frequent spikes in ObiSolver.FixedUpdate() - josemendez - 08-08-2019

(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,


RE: Frequent spikes in ObiSolver.FixedUpdate() - asimofu_ok - 08-08-2019

(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.