|
I reordered prefabs, sounds, materials and everything else in my game project folder, using unity (i've not done this using windows explorer). Now i keep getting the "Null reference exception" error even if every game object is correctly linked to every referenced prefab or sound or anything else. I tried evrything, rename scripts, rename prefabs, relink evrything, but nothing works. What can i do?
(comments are locked)
|
|
I recently tackled something similar and this may be your problem.
You can now use GameObject.Find('prefab') now that the GameObject has been loaded.
(comments are locked)
|

What is the Null reference coming from (code?) are you using Resources.Load? or GameObject.Find()?
It comes from a GameObject.Find() in a script! What can i do?
Have the GameObjects been placed in your scene? Or are you using scripts to load the objects prior to calling GameObject.Find() ?