+4 votes

hi
I change scene and then I want to reload current scene (get_tree().reload_current_scene) it works but show a bug : no loader found for resource

in Engine by (17 points)
recategorized by

Hi, your question is too broad, can you please provide at least description of what are you reloading (like, idk, Sprite or model with textures or complex scene imported from Blender)? Sample project would be super cool :)

Reloading a scene works for me in both Godot 2.0 and 2.1. Looks like the error comes from something else in your scene, an example project would be welcome (and an issue on Github if you can reproduce it).

how did you change scene?

my change scene had a problem,tnx

1 Answer

+17 votes

I think you need to add parentheses at the end of that line. Like this:

get_tree().reload_current_scene()
by (130 points)

Thanks! Helped a lot!

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.