Loading between Scenes not Working

Hello guys,

So after this lecture, you supposedly have to be able to save in one scene, load properly, change scene, save and load properly, go back to the other scene and just load what just saved before.

Well, so when I go back to the initial scene, i have a print statement to check which UUIDs are being loaded, and all of them are supposedly being loaded, including the player’s, but the position is not changed.

Any ideas?

Is it only the player’s new position that is not being changed, or all of the entities?

i checked further and I found the mistake. Didn’t load the existing file when I was trying to save so it got rewritten all the time.

Really a silly mistake that I overlooked!

Thanks!

Silly mistakes are all part of coding. I still make them 40 years later (though not as many these days).

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms