Scene freeze after loaded

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
naruhodo469
Posts: 7
Joined: Thu Aug 31, 2023 1:21 am

Scene freeze after loaded

Post 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.
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scene freeze after loaded

Post 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()
naruhodo469
Posts: 7
Joined: Thu Aug 31, 2023 1:21 am

Re: Scene freeze after loaded

Post by naruhodo469 »

It really worked, thank you so much!
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scene freeze after loaded

Post by Tony Li »

Glad to help!
Post Reply