0 votes

I build a title screen, and when press the button START, it goes to get_tree().change_scene("res://Scene/00World.tscn"). The change scene works but the new scene got stuck, and nothing moves. No inputs, not animation, all elements are on screen but in a completely frozen mode. I don know what caused this, it should be just a simple scene change. Looking for some advice to solve the problem, thank you.

in Engine by (266 points)

I found out, if I press the ESC key, the frozen scene starts to run. It is like the changed scene is loaded but not running. Is that a line of code that I need to put to make it run once the scene is loaded?

1 Answer

0 votes
Best answer

Problem solved. Turn out that I have line of game pause code in the title scene script, and it make the game in pause mode while changing to the world scene. As soon as I remove that code, the scene loads properly.

by (266 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.