- Home /
Save and Load Works but when we press load more players appear
We don't know why this happens. We have a player in the first scene (Not Instantiated) and when we exit the game and press continue which loads the current PlayerPosition all of a sudden we have 2 players next to each other and one falling forever. If you Require more information please let us know thanks very much if you can help
I think we will need more detail.
Are you loading a scene that contains a player, calling DontDestoryOnLoad() on that player and then loading levels and then loading the 'start' scene again and subsequently calling DontDestoryOnLoad() on that?
Our player, along with a lot of persistent objects, is loaded in the startup scene and we call DontDestoryOnLoad() on that, we then load the menus and never load the startup scene again.
Answer by john-essy · Aug 31, 2011 at 02:54 PM
Yea we where doing something similar calling don't Destroy on load 3 times in some cases and others twice we now have it all sorted thank god:) and now we have it working where it saves the exact position of the player when they press save. It will also respawn you if you die at that location and when you press load or continue Thanks for your reply
Your answer
Follow this Question
Related Questions
Save and Load Questions 0 Answers
Null Reference Exception even after check 1 Answer
Create a terrain prefab? Saving a terrain? No? 1 Answer
nice Save but wrong load 0 Answers
Can't move after load saved game 0 Answers