03-12-2020, 01:16 PM
(This post was last modified: 03-12-2020, 01:49 PM by memoryofgod.)
(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.