Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Performance Tips?
#3
(19-11-2020, 09:49 AM)josemendez Wrote: Make sure you disable the jobs debugger, enable Burst compilation, disable safety checks, etc, as stated in the manual:
http://obi.virtualmethodstudio.com/tutor...kends.html

All these will impact performance for multiple reasons (not only for Obi, but anything making use of Burst).

Hi, any other tips? I've done all of the above, have all the latest packages for jobs, burst etc and still getting terrible performance in editor with a single obi skinned cloth object(what I would consider low poly) and a single solver. It takes the scene from 200fps to 15fps when I enable the solver.  I have an AMD Ryzen 7 3700X 8-Core processor.
Thanks.
Edit: Even when the Obi skinned cloth object is removed, the performance doesn't change. Seems like it's the Obi Fixed Updater that is causing it, nothing to do with the simulation? Also, when I do the opposite of what you mentioned above, ie turn on jobs debugger, enable burst compilation and enable safety checks, there is no noticeable change in performance...

[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.
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