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

"Save on focus loss" Editor Setting causes stack overflow. #75750

Closed
haruyou27 opened this issue Apr 6, 2023 · 4 comments
Closed

"Save on focus loss" Editor Setting causes stack overflow. #75750

haruyou27 opened this issue Apr 6, 2023 · 4 comments

Comments

@haruyou27
Copy link

haruyou27 commented Apr 6, 2023

Godot version

v4.0.2.stable.mono.official [7a0977c]

System information

Kubuntu 22.10

Issue description

Godot crashed with error:
ERROR: Task 'save' already exists. at: add_task (editor/progress_dialog.cpp:177) Stack overflow.

Steps to reproduce

  1. Editor Settings -> turn on Save on focus loss
  2. Switch to another window.

Minimal reproduction project

This is an Editor bug.

@haruyou27
Copy link
Author

haruyou27 commented Apr 8, 2023

I managed to get more info on the error.
Something is constantly adding Saving popup Progress bar and caused a stack overflow.
ERROR: Parent node is busy setting up children, `add_child()` failed. Consider using `add_child.call_deferred(child)` instead. at: add_child (scene/main/node.cpp:1138) ERROR: Condition "!is_inside_tree()" is true. at: popup_centered (scene/main/window.cpp:1468) ERROR: Task 'save' already exists. at: add_task (editor/progress_dialog.cpp:177) ERROR: Task 'save' already exists. at: add_task (editor/progress_dialog.cpp:177) ERROR: Task 'save' already exists.

@haruyou27
Copy link
Author

On Windows 7, the console still throw
ERROR: Parent node is busy setting up children, `add_child()` failed. Consider using `add_child.call_deferred(child)` instead. at: add_child (scene/main/node.cpp:1138)
ERROR: Condition "!is_inside_tree()" is true. at: popup_centered (scene/main/window.cpp:1468)
every time I switch window but does not crash.

@Calinou
Copy link
Member

Calinou commented Apr 8, 2023

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants