Loading levels multiple times problems

Hi to all,

I’m having problems when loading a level multiple times.

For example, I’m in level 1 and I go to level 2. from there I come back to level 1 but everything is frozen and I can’t control anything.

No matter if I play it in the editor or a standalone game it does the same thing.

Does anybody have a clue?

sounds like you have dontdestroyonload objects which you forgot to implement correctly (so dublicates are killed in the awake)

how do I know if I have “dontdestroyonload objects”?
And How would I go about implementing this?

thanks,

you might have something like this

function Awake () {
    DontDestroyOnLoad (this);
}

That causes the gameobject that the script is attached to to be retained when you change scenes :slight_smile:

the only place where I have this in my code his for my splascreen and I don’t go back to that level at any point in my game.

So what else could it be?

Is there any more information you can give about your project? Is it based on an existing example project? What is supposed to be happening in the level that gets frozen? Does the frozen level fail to do anything at all, or is it just character movement that stops?

Sorry If I didn’t reply before, I was busy working on some other part of my game.

I will look into it and see what freezes exactly. For now, I do know that my character is frozen and can’t move. nor does the camera that is suppose to spring behind the character,