-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Segfault when exiting editor with a scene containing a pcam #389
Comments
Strange, can't spot any errors when quitting the editor — using the same Godot editor (v4.3.stable.arch_linux). Might be due to different desktop environments? |
Manjaro linux. I'm getting the error in the console. I'm launching the editor directly via To confirm, I built godot from source and debugged the editor. The issue was in the I added a simple It's not a big issue, but it just made the process of restarting the editor tedious. Want me to make a pull request? |
Hmm, odd, I'm not getting any errors when following the repro steps in both 0.7.3 and 0.8 Beta. Have posted the terminal log below. What does your error log look like?
|
You seem the be reproducing the issue just fine. This is what I get launching the mrp using Godot 4.3. I just open the editor and quit normally.
And running it from my debug build of Godot 4.3:
Debugging the 4.3 editor, it breaks here: It's trying to call |
I can see what you mean. So yes, feel free to make a PR for it. |
Issue description
Godot Engine v4.3.stable.arch_linux
Quitting the Godot editor with an open scene containing a pcam results in a segmentation fault.
It seems like the PhantomCameraManager node is freed before the in-editor phantom cameras. Them accessing the manager in their _exit_tree method is what seems to trigger the segfault.
Steps to reproduce
The MRP is a blank project containing only the phantom camera addon.
(Optional) Minimal reproduction project
segfault.zip
The text was updated successfully, but these errors were encountered: