Obi Official Forum
ObiEmitter Prefab - NullReferenceException on Instantiate - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html)
+--- Thread: ObiEmitter Prefab - NullReferenceException on Instantiate (/thread-1263.html)



ObiEmitter Prefab - NullReferenceException on Instantiate - p3gamer - 06-07-2019

I have an ObiEmitter prefab that gives me a NullReferenceException when I instantiate it. It's because the solver is null. I've tried adding a solver prefab to the ObiEmitter prefab and it doesn't hold (meaning it's still null). I could add a solver component to the ObiEmitter prefab and that fixes it, but is there another way which would allow me to have one solver prefab that all the emitter prefabs can use?