其实一般要切换场景的话,一般是推荐使用一个根节点,然后场景作为子节点,使用实例化来加载和删除场景(这样就无需使用change_scene来更改场景了)不过这种架构问题一般是项目开始前考虑的,如果已经做到一半了,那架构确实不好改了。考虑到你的项目可能是这种情况,可以使用这个方法:在change_scene前,先使用remove_child()...
另外,在安卓端的godot引擎中调试时发现会弹出以下报错,但是能正确切换场景。PC端引擎中调试时没有显示错误。看不懂这个报错的意思。头疼。编辑器里库库猛做,运行顺利,感觉自己可牛X了,一导出全是问题。回复 1楼 2024-04-01 00:07 登录百度账号 下次自动登录 忘记密码? 扫二维码下载贴吧客户端 下载贴吧APP看...
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 ...
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...
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 ...
Closesgodotengine/godot-docs#4089 Mention that change_scene is deferred 86aa9b1 KoBeWiaddedenhancementtopic:coredocumentationcherrypick:3.xConsidered for cherry-picking into a future 3.x releaselabelsDec 27, 2020 KoBeWiadded this to the4.0milestoneDec 27, 2020 ...
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...
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...