-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
OptionButton throwing errors in exported release build: "Attempt to disconnect a nonexistent connection" for signal focus_entered
and tree_exited
#89657
Comments
Can you try this with 4.2.1? Or 4.2.2.rc2? This might have been fixed and you are on an out of date version |
I did just now try it with v4.1.3.stable.official [f06b6836a] and the error did not occur. I can try with other versions here soon. |
That's an older version, but good to get comparison that means it was introduced after 4.1 was released |
The error was reproduced in v4.2.1.stable.official [b09f793]. |
This is happening in 4.2.2.rc2 |
I can reproduce the issue with the MRP, using 4.2.1-stable, and 4.3-dev4 (didn't have dev5 templates locally to test). I also confirm that there's no bug with 4.1.3-stable. So the regression must be a commit between 4.1-stable and 4.2-stable. To be clear, this only happens with release templates, not the editor or debug templates. |
focus_entered
and tree_exited
I tested intermediate releases and it seems that the error was introduced in 4.2-rc2: Here's the changelog for that snapshot: https://godotengine.github.io/godot-interactive-changelog/#4.2-rc2 From that list, #85280 seemed like a potential culprit. I tested in latest |
Happening in v4.2.2.stable.official.15073afe3 |
Can't reproduce in 4.3. |
Tested versions
System information
Windows 11 Home
Issue description
Interacting with an OptionButton produces an error message:
ERROR: Attempt to disconnect a nonexistent connection from 'root:<Windows#24779948753>'. Signal: 'focus_entered', callable:...
at: (core/object/object.cpp:1420)
ERROR: Attempt to disconnect a nonexistent connection from 'root:<Windows#24779948753>'. Signal: 'tree_exited', callable:...
at: (core/object/object.cpp:1420)
Only when the project is exported to executable, both release and debug, but does not produce an error when run in the editor.
Steps to reproduce
Starting from an empty project with the root node being a control node, add a child OptionButton and add 2 items to it, labeled Option 1 and Option 2. Then, export the project with the console to an executable. The console executable will display an error when an option is selected in the OptionButton.
Minimal reproduction project (MRP)
Test.zip
The text was updated successfully, but these errors were encountered: