Scene Persist not beeing created in LoadNextLevel

I followed allong with what Rick did, but for some reason the Scene Persists is only created in the DontDestroyOnload upon startup or ResetGameSession.

If I switch between scenes the ScenePersist is not there in the next scene.

image
Not running
image
image

Game Started
image

Loaded next scene (level2)

image

A game object that gets added to DontDestroyOnLoad must be at the root level of the hierarchy. You have added your ScenePersist prefabs to the GameSession game object, so this will not work. Rick did not add his to the GameSession game object

Thanks that did the trick.

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

Privacy & Terms