Obi Official Forum
Bug / Crash Obi renderers (particles, fluid, all of them) randomly stop working upon Pause button - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: General (https://obi.virtualmethodstudio.com/forum/forum-5.html)
+--- Thread: Bug / Crash Obi renderers (particles, fluid, all of them) randomly stop working upon Pause button (/thread-4158.html)



Obi renderers (particles, fluid, all of them) randomly stop working upon Pause button - kodra - 08-04-2024

It seems that Obi renderers randomly stop working when the "Pause" button is pressed in Unity editor.



Please take a look at this video. The fluid just disappears and reappears randomly. Sometimes it works sometimes it doesn't.



It has nothing to do with my custom SRP, since the exact same issue happens with URP as well (see above).


RE: Obi renderers (particles, fluid, all of them) randomly stop working upon Pause button - josemendez - 08-04-2024

All renderers in Obi 7 use the Graphics API (DrawMesh, RenderMesh, etc). Unfortunately these don't cache the internal drawcall so they don't work at all unless they're called, and they seem to be not if you pause the editor.

Whether this is intended behavior or a bug in Unity is up to debate, though multiple bug reports have been made about this:
https://forum.unity.com/threads/graphics-drawmesh-editor-pause-no-mesh-visible-anymore.1362907/
https://issuetracker.unity3d.com/issues/graphics-dot-drawmesh-stops-rendering-the-mesh-when-the-editor-is-paused