Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ObiEmitter Prefab - NullReferenceException on Instantiate
#1
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?
Reply