reload current scene

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By maryam
:warning: Old Version Published before Godot 3 was released.

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

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 :slight_smile:

splite | 2016-07-27 10:42

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).

Zylann | 2016-07-27 23:15

how did you change scene?

volzhs | 2016-07-28 16:50

my change scene had a problem,tnx

maryam | 2016-07-31 06:46

:bust_in_silhouette: Reply From: MmTtDeveloper

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


Thanks! Helped a lot!

Flame_Games | 2020-07-14 17:47