0 votes

I have an issue where I need to reload a scene only once, but If I try to make it reload on the script scene then it gets stuck in an infinite loop of reloading the scene and freezes and crashes. Thanks!!

in Engine by (17 points)

2 Answers

0 votes

In Visual script, you can use the Get Scene Tree node, and use the ' change_scene ' method, it only changes once . . .

enter image description here

I think you need to use that ' method ', instead of reload . . . :) <3

by (98 points)
0 votes

However, I think when writing it, the Get Scene Tree is, called scene_tree, then . . .

scene-tree.change-scene(folder path string) . .

by (98 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 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 webmaster@godotengine.org with your username.

Categories