其实一般要切换场景的话,一般是推荐使用一个根节点,然后场景作为子节点,使用实例化来加载和删除场景(这样就无需使用change_scene来更改场景了)不过这种架构问题一般是项目开始前考虑的,如果已经做到一半了,那架构确实不好改了。考虑到你的项目可能是这种情况,可以使用这个方法:在change_scene前,先使用remove_child()...
【求助】场景无法被实..用change_scene_to_path 和 change_scene_to_packed来加载场景失败了。在编辑器中运行是正常的,能够正确地切换场景。但是将项目导出后,就不能加载了。我通过日志看到
Godot 4.4.dev3 - Compatibility renderer System information Android 14 Issue description animation get detach from mesh when changeing scene. It also happening when changeing animation player property. But the animation is working well when playing in game. Steps to reproduce Added .glb model animati...
Tested versions 4.3 stable System information Godot v4.3.stable (77dcf97) - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4080 (NVIDIA; 32.0.15.6109) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads) Issue description ...
Tested versions Reproducible in 4.1.3.stable.mono System information Godot v4.1.3.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 31.0.15.3667) - AMD Ryzen 7 3700X 8-Core Processor ...
it is open in the Godot script editor. The issue is that even if the script editor is disabled, it will continue to open up the dominant script on scene change and while files are open in Godot's script editor, the file change message will continue to appear when you modify those ...
Godot version 4.0.2 System information Windows 10 Issue description I created a button that, when pressed, called change_scene_to_packed() with a PackedScene variable as the target. The variable is exported into the editor, where I can t...
Godot version v4.2.beta4.official [93cdacb] System information Windows 10 Issue description get_tree() returns null when called immediately after calling change_scene_to_file() in _process() or _physics_process(). The error printed in de...
Closes godotengine/godot-proposals#4847 In the AnimationPlayer, left clicking the path name allows the user to type in a new path. This change adds a right-click menu with the following options: Change Target Node - Opens a SceneTreeDialog to select a new node, changing the target node to...
The performance improvement on the SceneTreeEditor caused the previous state of the SceneTreeEditor::marked HashSet to matter, when it previously was always just overwritten when markings changed. The old code thus had no reason to ever clear the marking list. We now make sure that whether the...