Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GC.Collect in CurvyGenerator.Update
#1
Hi,

I am getting a little spike in performance every 10 seconds or so from the GC.Collect in CurvyGenerator.Update(). Any ideas how I can minimize this? It's a VR project so any spikes are less than ideal. CurvyGenerator.Update() goes from ~0 ms to ~6.8ms for a single frame.

I am creating an extruded beam that is updated every frame.

Any help would be appreciated.

Thanks,
Mac
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Update and Black Friday sale _Aka_ 2 2 11-23-2024, 11:58 AM
Last Post: _Aka_
  CurvyGenerator not refreshing until next frame when created. Lupos 2 7 06-08-2023, 12:12 PM
Last Post: _Aka_
  Calling Update with defined deltatime Marco Schultz 3 8 01-25-2023, 01:58 PM
Last Post: _Aka_
  I want SetLocalPositions to update all CPs at once. yanke 3 7 05-30-2022, 02:50 PM
Last Post: _Aka_

Forum Jump: