Enemy = GameObject.Instantiate( Resources.Load(“Prefabs/Enemy”) ) as GameObject;
The above is the code that I used to Instantiate a prefab object into my game…
It’s working fine in the editor, but when I build it as a .exe or .apk, everything that I instantiate is not appearing.
I do have a Resources Folder, and I made sure the Prefab folder is in it. It loads in the Editor, but not in any other builds.
Could you duplicate the project, remove everything except the object in resources and try to instantiate it? If that works in the Editor but not in players, please submit a bug report with that sample project: