Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Performance spikes in BeginStep and Substep
#1
Hi, I'm using Obi Cloth 5.0 with Unity 2018.4.9. I'm profiling a scene with an Ambient Force Zone, Late Fixed Updater, and a Skinned Cloth. I seem to be getting some pretty massive spikes in RunLateFixedUpdate(), specifically in Substep and BeginStep, going from around 0.5ms up to 15-30ms. Any ideas on why this could be or how to resolve it? The solver is using only Distance and Skin constraints, with 1 iteration each. The spikes persist even when I disable the force zone and skinned cloth and have nothing in my scene enabled except for the Solver and Updater. I've also tried commenting out the lines UpdateColliders(), UpdateAllRigidbodies(), UpdateAllVelocities() in Substep() as I'm not using any colliders or rigidbodies, with no effect.
Reply


Messages In This Thread
Performance spikes in BeginStep and Substep - by jp715 - 27-11-2019, 07:35 PM