Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Performance Tips?
#4
(03-12-2020, 01:16 PM)memoryofgod Wrote: [FIXED] For some reason there was a game object called 'OniCollisionWorld' in my scene hierarchy which has a script on it 'OniColliderWorld'. It was this that was tanking performance. No idea how it got there, I think it might have been autogenerated when creating some Obi objects? But removing that my fps jumped back up to 200fps.

Hi there,

That object should automatically removed when you switch from the Oni backend to Burst. If you switched backends while a compile error was present, or some other circumstance prevented Obi from removing that object, it might linger around, causing all colliders in your scene to be updated for both backends and affecting performance.

In Obi 5.6.2 (out in a few days) we've added a quality of life improvement that ignores existing ColliderWorld components that no backend is making use of. In cases such as this where stray/leftover ColliderWorld components are still around, Obi will ignore them.
Reply


Messages In This Thread
Performance Tips? - by MBennettDev - 18-11-2020, 11:37 PM
RE: Performance Tips? - by josemendez - 19-11-2020, 09:49 AM
RE: Performance Tips? - by memoryofgod - 03-12-2020, 01:16 PM
RE: Performance Tips? - by josemendez - 03-12-2020, 02:05 PM