01-09-2018, 09:14 AM
(01-09-2018, 01:39 AM)Armadous Wrote: Hi
Thanks for the follow up. I updated unity to the latest version (2018.2.6f1 Personal) and imported ObiFluid into a fresh project and things got a little better. I'm not seeing the same physics clipping behavior and the performance has improved slightly.
https://i.imgur.com/ELoHwmV.gifv
It was tough to get a screenshot from the profiler, it has a tendency to crash unity.
And the unity Profiler. This is the export from the Unity profiler. https://www.dropbox.com/s/is7n0itxhlgjsm...ofile.data
Looks like a bad case of death spiralling, since the per-frame times reported by Unity and those reported by the Obi inspector are completely different (Obi reports 33 ms/frame, Unity reports 130 ms/frame) See:
https://www.youtube.com/watch?v=sUVqa-72-Ms
The solution would be to reduce Unity's "max allowed timestep":
https://docs.unity3d.com/Manual/class-TimeManager.html