Closed Darkinggq closed 4 years ago
visual script is generally not stable (often crash)
In master I can't even open this project:
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f45385dcf20] (??:0)
[2] EditorPropertyRevert::can_property_revert(Object*, StringName const&) (/home/rafal/Pulpit/godot/editor/editor_inspector.cpp:474)
[3] EditorFolding::_do_object_unfolds(Object*, Set<Ref<Resource>, Comparator<Ref<Resource> >, DefaultAllocator>&) (/home/rafal/Pulpit/godot/editor/editor_folding.cpp:233 (discriminator 1))
[4] EditorFolding::_do_node_unfolds(Node*, Node*, Set<Ref<Resource>, Comparator<Ref<Resource> >, DefaultAllocator>&) (/home/rafal/Pulpit/godot/editor/editor_folding.cpp:276)
[5] EditorFolding::unfold_scene(Node*) (/home/rafal/Pulpit/godot/editor/editor_folding.cpp:283)
[6] EditorNode::load_scene(String const&, bool, bool, bool, bool) (/home/rafal/Pulpit/godot/editor/editor_node.cpp:3081)
[7] EditorNode::_sources_changed(bool) (/home/rafal/Pulpit/godot/editor/editor_node.cpp:543)
[8] MethodBind1<bool>::call(Object*, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/./core/method_bind.gen.inc:729 (discriminator 12))
[9] Object::call(StringName const&, Variant const**, int, Variant::CallError&) (/home/rafal/Pulpit/godot/core/object.cpp:942 (discriminator 1))
[10] Object::emit_signal(StringName const&, Variant const**, int) (/home/rafal/Pulpit/godot/core/object.cpp:1228 (discriminator 1))
[11] Object::emit_signal(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) (/home/rafal/Pulpit/godot/core/object.cpp:1285)
[12] EditorFileSystem::_notification(int) (/home/rafal/Pulpit/godot/editor/editor_file_system.cpp:1159 (discriminator 4))
[13] EditorFileSystem::_notificationv(int, bool) (/home/rafal/Pulpit/godot/editor/editor_file_system.h:107 (discriminator 14))
[14] Object::notification(int, bool) (/home/rafal/Pulpit/godot/core/object.cpp:954)
[15] SceneTree::_notify_group_pause(StringName const&, int) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:971)
[16] SceneTree::idle(float) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:518 (discriminator 3))
[17] Main::iteration() (/home/rafal/Pulpit/godot/main/main.cpp:1885)
[18] OS_X11::run() (/home/rafal/Pulpit/godot/platform/x11/os_x11.cpp:3006)
[19] /usr/bin/godot(main+0xdc) [0x12f1073] (/home/rafal/Pulpit/godot/platform/x11/godot_x11.cpp:56)
[20] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f45385bfb97] (??:0)
[21] /usr/bin/godot(_start+0x2a) [0x12f0eda] (??:?)
I just wanted to put this here, I am on Linux and whilst working with visualscript I never encountered any bugs or crashes.
Tried on Windows and https://github.com/godotengine/godot/commit/ae6c390eb215c8c3f27f0f7a249cb2c07fcfc08a.
Still crashes.
Seems like it still crashes, but the script is likely invalid/corrupted and it's not editor crash, so closing.
If someone can create a crashing script in Godot 3.2.3 or newer, please comment and we can reopen this.
Godot version: v3.1.stable.official
OS/device including version: Debian 9.8
Issue description: visual script resource loader blade crash immediately and can not run the project :(
Minimal reproduction project: 1.tar.gz