- Home /
Question by
hellominecraft2000 · Mar 16 at 03:40 PM ·
instantiatescene
Objects instantiated in wrong scene.
When I instantiate objects, they always appear in another scene instead of the one they were instantiated from. Why could this happen?
Comment
Best Answer
Answer by Pangamini · Mar 16 at 03:49 PM
Instantiated objects are created in the active scene. Use SceneManager.SetActiveScene to change the active scene in which new gameObjects will be created