S_Ven
1
At the beginning of my project I tried to instantiate some files, then this error message came out.
I installed two different version of unity at the same computer before, I am not sure if the problem related to it or just something wrong with my prefab. And after then I removed the new version and reinstalled the old version, but it still useless. Please help me.
Do you use GameObject variable to instantiate it? I mean you create a variable, put there a prefab, and then instantiate? Or you want to load it by name from resources?
If second, then:
- Make sure that your prefab is in Resources folder.
- Use Resources.Load(name) to load an object (but it doesnt instantiate it).
Moreover, it could be useful if you would share your code with us.