- Home /
Why my Camera is getting Duplicated?
I have a simple Application.LoadLevel() and it works, the problem is that everytime I change from one scene to another my cameras are getting duplicated. Why could be happening?
maybe you have a DontDestroyOnLoad function in one of the previous scenes attached to the camera and as a result that is not getting destroyed when you load a new scene.
PvTGreg I have a Script Assigned to the first camera (A script to move it based on touch) If that's the case How should I handle this issue?
Thanks for your answer.
Search for DontDestroyOnLoad() in your script. Then delete that line. (That method makes objects persist through scene changes)
Your answer

Follow this Question
Related Questions
Losing reference to the camera after loading new scene 0 Answers
Continue playing sound effect on camera after LoadScene 1 Answer
Get new Camera after Application.loadLevel 1 Answer
How to make camera position relative to a specific target. 1 Answer
2 questions: camera change and a question about using && 2 Answers