Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GC Alloc dropping FPS when rope gets bigger
#4
(15-08-2017, 03:09 PM)leonrdo Wrote: *bumpĀ 
Really need to know about this intense GC Alloc happening

The GC itself is not the main issue. The fact that your physics loop is executed 17 (!) times per frame is. Reduce your max fixed timestep in Unity's time settings, because you're hitting a spiral-of-death-type situation.

Also, to reduce the GC, check the amount of colliders you've added to the solver. Having too many colliders added to the solver increases the GC each frame. Your profiler clearly shows the collider update method is the culprit.
Reply


Messages In This Thread
RE: GC Alloc dropping FPS when rope gets bigger - by josemendez - 15-08-2017, 03:25 PM