Open FayeAlephNil opened 4 years ago
Godot Beta v3.2.2.rc1.official crashes in the same manner with nearly the exact same backtrace. Also Godot 4 crashes at startup (without opening the project), which I think is a separate issue
Backtrace
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f0d5f74b210] (??:0)
[2] Node::get_node_or_null(NodePath const&) const (/mnt/Miecz/godot/scene/main/node.cpp:1320)
[3] SceneState::instance(SceneState::GenEditState) const (/mnt/Miecz/godot/scene/resources/packed_scene.cpp:96 (discriminator 4))
[4] PackedScene::instance(PackedScene::GenEditState) const (/mnt/Miecz/godot/scene/resources/packed_scene.cpp:1698)
[5] SceneState::instance(SceneState::GenEditState) const (/mnt/Miecz/godot/scene/resources/packed_scene.cpp:141)
[6] PackedScene::instance(PackedScene::GenEditState) const (/mnt/Miecz/godot/scene/resources/packed_scene.cpp:1698)
[7] EditorNode::load_scene(String const&, bool, bool, bool, bool) (/mnt/Miecz/godot/editor/editor_node.cpp:3426)
[8] EditorNode::_sources_changed(bool) (/mnt/Miecz/godot/editor/editor_node.cpp:689)
[9] MethodBind1<bool>::call(Object*, Variant const**, int, Variant::CallError&) (/mnt/Miecz/godot/./core/method_bind.gen.inc:775 (discriminator 12))
[10] Object::call(StringName const&, Variant const**, int, Variant::CallError&) (/mnt/Miecz/godot/core/object.cpp:922 (discriminator 1))
[11] Object::emit_signal(StringName const&, Variant const**, int) (/mnt/Miecz/godot/core/object.cpp:1249 (discriminator 1))
[12] Object::emit_signal(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) (/mnt/Miecz/godot/core/object.cpp:1307)
[13] EditorFileSystem::_notification(int) (/mnt/Miecz/godot/editor/editor_file_system.cpp:1175 (discriminator 4))
[14] EditorFileSystem::_notificationv(int, bool) (/mnt/Miecz/godot/editor/editor_file_system.h:108 (discriminator 14))
[15] Object::notification(int, bool) (/mnt/Miecz/godot/core/object.cpp:934)
[16] SceneTree::_notify_group_pause(StringName const&, int) (/mnt/Miecz/godot/scene/main/scene_tree.cpp:985)
[17] SceneTree::idle(float) (/mnt/Miecz/godot/scene/main/scene_tree.cpp:525 (discriminator 3))
[18] Main::iteration() (/mnt/Miecz/godot/main/main.cpp:2090)
[19] OS_X11::run() (/mnt/Miecz/godot/platform/x11/os_x11.cpp:3265)
[20] godot(main+0x125) [0x141ab2b] (/mnt/Miecz/godot/platform/x11/godot_x11.cpp:57)
[21] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f0d5f72c0b3] (??:0)
[22] godot(_start+0x2e) [0x141a94e] (??:?)
@FayeAlephNil
Your Heart.tscn and HeartContainer.tscn somehow got corrupted. It looks like maybe you were trying to make these inherited scenes, but something went wrong in the editor. If you could reproduce that, then that would be the bug here.
Another thing to note is in these scenes the scripts are built-in, and you do have external scripts, so you might want to attach those.
The corruption here is that the nodes in the TSCN file didn't have types. I added them as you can see in these highlights.
To get your project running again, you can overwrite these two files over top of what you have. Then once the editor is running again you might want to try to fix them up from there.
For devs:
@avencherus Thanks for the help with that! The project is back up and running, but parse errors would definitely be helpful for this kind of thing
@FayeAlephNil Not a problem. 👍 Do you remember anything that might of happened with those scenes that might reproduce the problem?
@FayeAlephNil Not a problem. +1 Do you remember anything that might of happened with those scenes that might reproduce the problem?
Hm, the Heart.tscn and HeartContainer.tscn were being used as resources in Packed Scenes for a loot table system. I then restructured some folder stuff all within the editor. It began to report errors about broken scenes (which I didn't get the debug traces for, sorry), before refusing to launch altogether
Also same crash is shown when trying to run project from Godot 4.0 in Godot 3.2.4 beta 1 - RegressionTestProject.zip
Godot Engine v3.2.1.stable
GLES3, Intel Mesa Integrated GPU
There was a crash immediately upon opening my project. Before it started crashing it reported missing/broken scenes that were correctly named and in the correct filepath that it was requesting. The backtrace is included here
I'm unsure of particular steps to reproduce, but the godot project that I had this crash on is included here. The issue persisted even after deleting
.import
to try and reimport everything.RPG.zip