When I instantiate objects, they always appear in another scene instead of the one they were instantiated from. Why could this happen?
Instantiated objects are created in the active scene. Use SceneManager.SetActiveScene to change the active scene in which new gameObjects will be created