I am new for the unity Sorry for these reason, I am currently try to develop a mobile games(IOS and Android), I have a problem when loading a new level, when I use DOntDestroyOnLoad, new level loadeded normally but when my player die and I show the button try again but never hide and when I look the game Inspector screen unity created sometimes two sometimes more than three player object, GUİ Object etc… what is the problem where am I wrong? Thank you very much for your help…
Sounds like the problem might be that the gameobject you don’t want to destroy already exists in the scene so when you reload that scene the object already exists in the scene but the old object is set to not be destroyed and so it is carried over into the new scene. This is why you are seeing it created several times, depending on how many times you have reloaded the scene.