Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor crash when adding WorldEnvironment if FogVolume was added to a scene #54371

Closed
Chaosus opened this issue Oct 29, 2021 · 1 comment · Fixed by #54374
Closed

Editor crash when adding WorldEnvironment if FogVolume was added to a scene #54371

Chaosus opened this issue Oct 29, 2021 · 1 comment · Fixed by #54374

Comments

@Chaosus
Copy link
Member

Chaosus commented Oct 29, 2021

Godot version

75baf16

System information

Windows 10

Issue description

Crash with the following stack trace:

CrashHandlerException: Program crashed
Engine version: Godot Engine v4.0.dev.custom_build (75baf16bab073fb52fb0ec33f08517cfb3febaa1)
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[0] Viewport::is_audio_listener_2d (C:\Git\godot\scene\main\viewport.cpp:840)
[1] FogVolume::get_configuration_warnings (C:\Git\godot\scene\3d\fog_volume.cpp:104)
[2] Node::get_configuration_warnings_as_string (C:\Git\godot\scene\main\node.cpp:2576)
[3] SceneTreeEditor::_add_nodes (C:\Git\godot\editor\scene_tree_editor.cpp:254)
[4] SceneTreeEditor::_add_nodes (C:\Git\godot\editor\scene_tree_editor.cpp:419)
[5] SceneTreeEditor::_update_tree (C:\Git\godot\editor\scene_tree_editor.cpp:557)
[6] SceneTreeEditor::set_selected (C:\Git\godot\editor\scene_tree_editor.cpp:733)
[7] EditorNode::_edit_current (C:\Git\godot\editor\editor_node.cpp:2184)
[8] SceneTreeDock::_do_create (C:\Git\godot\editor\scene_tree_dock.cpp:2176)
[9] SceneTreeDock::_create (C:\Git\godot\editor\scene_tree_dock.cpp:2291)
[10] Callable::call (C:\Git\godot\core\variant\callable.cpp:51)
[11] Object::emit_signal (C:\Git\godot\core\object\object.cpp:1100)
[12] Object::emit_signal (C:\Git\godot\core\object\object.cpp:1155)
[13] CreateDialog::_confirmed (C:\Git\godot\editor\create_dialog.cpp:342)
[14] Callable::call (C:\Git\godot\core\variant\callable.cpp:51)
[15] Object::emit_signal (C:\Git\godot\core\object\object.cpp:1100)
[16] Object::emit_signal (C:\Git\godot\core\object\object.cpp:1155)
[17] AcceptDialog::_ok_pressed (C:\Git\godot\scene\gui\dialogs.cpp:105)
[18] CallableCustomMethodPointer<AcceptDialog,String const &>::call (C:\Git\godot\core\object\callable_method_pointer.h:96)
[19] Callable::call (C:\Git\godot\core\variant\callable.cpp:51)
[20] Object::emit_signal (C:\Git\godot\core\object\object.cpp:1100)
[21] Object::emit_signal (C:\Git\godot\core\object\object.cpp:1155)
[22] LineEdit::gui_input (C:\Git\godot\scene\gui\line_edit.cpp:394)
[23] Control::_call_gui_input (C:\Git\godot\scene\gui\control.cpp:823)
[24] Viewport::_gui_input_event (C:\Git\godot\scene\main\viewport.cpp:1970)
[25] Viewport::push_input (C:\Git\godot\scene\main\viewport.cpp:2681)
[26] Window::_window_input (C:\Git\godot\scene\main\window.cpp:920)
[27] call_with_variant_args<VisualScriptEditor,Ref<InputEvent> const &> (C:\Git\godot\core\variant\binder_common.h:337)
[28] Callable::call (C:\Git\godot\core\variant\callable.cpp:51)
[29] DisplayServerWindows::_dispatch_input_event (C:\Git\godot\platform\windows\display_server_windows.cpp:1850)
[30] Input::_parse_input_event_impl (C:\Git\godot\core\input\input.cpp:621)
[31] Input::flush_buffered_events (C:\Git\godot\core\input\input.cpp:841)
[32] DisplayServerWindows::process_events (C:\Git\godot\platform\windows\display_server_windows.cpp:1575)
[33] OS_Windows::run (C:\Git\godot\platform\windows\os_windows.cpp:641)
[34] widechar_main (C:\Git\godot\platform\windows\godot_windows.cpp:163)
[35] _main (C:\Git\godot\platform\windows\godot_windows.cpp:187)
[36] main (C:\Git\godot\platform\windows\godot_windows.cpp:199)
[37] __scrt_common_main_seh (d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[38] BaseThreadInitThunk

Steps to reproduce

Add a FogVolume to a 3D scene, Adding a WorldEnvironment to a scene -> Crash

Minimal reproduction project

Too trivial to reproduce

@mhilbrunner
Copy link
Member

mhilbrunner commented Oct 29, 2021

May be a regression from #53353, cc @clayjohn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants