- Home /
Move a gameobject after loading new scene?
Have dontdestroyonload on an object, but when a new scene is loaded, it keeps it's old transform, is there a way to fix this problem? (my player is the gameobject)
Answer by Diukrone · Jan 26, 2018 at 06:41 PM
Please, check the answer on this Unity Forum post:
I hope it helps! Have a nice day!
That did, I was looking for a faster way than manually setting it, and I think that will lead me in the direction I was hoping to go in, Thanks.
You are welcome! I am happy that it solved your problem! ^^ Thanks and have a nice day!
Answer by tata_unlimited · Jan 26, 2018 at 06:56 PM
Just manually (using transform.position) set the position of your player after the scene is loaded.
Your answer
Follow this Question
Related Questions
how to save scene when switch another scene? 2 Answers
Scene loading problem 5 Answers
Help with error message "Overwriting the same path as another open scene is not allowed" 0 Answers
,Enums not being passed between scripts properly 1 Answer
CheckConsistency: GameObject does not reference component Animator. Fixing. 0 Answers