-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Bottom Panel Plugin with SubViewport and Camera causes crash #76035
Comments
Today ran into similar issue. We use SubViewport in a plugin to render and save level image. It crashes with a similar stack trace. EDIT:
|
Here is a stack trace for the reproduction project using Godot 4.1.dev(db13026) on Manjaro Gnome:
|
@narren96c You haven't found any work around for this have you? |
@maxcaplan Haven't looked into it yet. I would try adding |
Stopped crashing for me without any changes to Godot or project files 🤷🏻 |
Godot version
4.0-stable
System information
Fedora Linux 37
Issue description
When a plugin adds a bottom panel to the editor with
add_control_to_bottom_panel(control: Control, title: String)
, if the bottom panel scene contains aSubViewport
with aCamera2D
, the editor will crash with the following back trace:The only time I have found this error to not occur is if you enable said plugin when the bottom panel scene is already open in the editor
Steps to reproduce
SubViewport
as a child of the sceneCamera2D
as a child of theSubViewport
add_control_to_bottom_panel
in the plugin script to add said scene to the bottom panelTo trigger the crash in the minimal reproduction project, make sure the
bottom_panel_example.tscn
scene is closed then go to Project -> Project Settings -> Plugins and click enable next toexample_plugin
Minimal reproduction project
MinimalReproductionProject.zip
The text was updated successfully, but these errors were encountered: