Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to dynamically change ObiPinhole position?
#6
(07-07-2025, 03:48 PM)quent_1982 Wrote: Hello, thanks but I've recently noticed a new problem.

I'm using ObiRope and need to restart ropes during the game. Right now, I destroy and instantiate them using Unity’s Destroy() and Instantiate(), but after around 20 restarts, performance drops from 100+ FPS to 1 FPS — likely due to garbage collection or no proper Burst and Jobs disposing.

Hi!

It's simply not possible for garbage collection or memory leaks to cause such a performance drop - unless a large amount of garbage needs to be collected every frame, or there's a leak is so large it causes the device to run out of RAM, jeopardizing further memory allocation.

My advice would be to check what's actually causing this by using the profiler, the reason for such a large performance drop should be apparent immediately upon opening it. If you share your profiling session, I can help you interpret the profiling info.

kind regards
Reply


Messages In This Thread
RE: How to dynamically change ObiPinhole position? - by josemendez - 07-07-2025, 04:16 PM