Page 1 of 1

Scene freeze after loaded

Posted: Tue Sep 19, 2023 5:28 pm
by naruhodo469
Hi, I'm currently making a 2D top-down game. When I tried to load a scene from a conversation, my character couldn't move and the scene froze. However, when I tried to load that scene separately, my character can move normally. I have two different characters in two different scenes btw. If you know how to fix it please help me, thanks.

Re: Scene freeze after loaded

Posted: Tue Sep 19, 2023 7:19 pm
by Tony Li
Hi,

If this happens in the editor's play mode, select menu item Edit > Project Settings and navigate to the Time section. Check the Time Scale value. If it's zero, this means the game is paused. Keep this window open while you play. When you change to the next scene, move the mouse over to the Project Settings window to refresh it. If Time Scale has changed to zero, check if the conversation is still active. If so, you may need to use a sequence like this in the final node of your conversation to simulate a button click:

Code: Select all

required LoadLevel(your-scene-name);
Continue()

Re: Scene freeze after loaded

Posted: Tue Sep 19, 2023 7:26 pm
by naruhodo469
It really worked, thank you so much!

Re: Scene freeze after loaded

Posted: Tue Sep 19, 2023 8:04 pm
by Tony Li
Glad to help!