-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Exiting the editor while organelle popup is open is possible and crashes the game #4470
Comments
No luck reproducing the crash with this change. Very good! |
(I think you commented on the wrong thing, you probably meant to comment on #4469 I'll merge that now wit the fix confirmation) |
With my change to disallowing the popup no longer to act on removed things, this might be better now, though still might run into the problem of accessing a disposed object to check if the targets are still valid for the popup. |
A fix has been made in general that basically fixes this (even if it isn't totally perfect) so this issue is closed by that general change. I think the likelihood of getting a more specific fix like the editor ensuring popups are closed before it begins the fade out is pretty low so I don't want to leave this issue open and hanging. |
Using the keyboard to select and click (spacebar) the confirm button while an organelle popup menu allows you to exit the editor and then crash the game when you click something on the popup.
The crashing exception:
So this is a pretty clear case where the editor should force close the popup before it allows exiting. Multicellular editor and late multicellular editor probably need the same fix so maybe a base class should be made to have a method that ensures all open popups are closed before exiting.
The text was updated successfully, but these errors were encountered: