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

Godot 4.0 crashes if game window closed while debug break #69622

Open
elvisish opened this issue Dec 5, 2022 · 9 comments
Open

Godot 4.0 crashes if game window closed while debug break #69622

elvisish opened this issue Dec 5, 2022 · 9 comments

Comments

@elvisish
Copy link

elvisish commented Dec 5, 2022

Godot version

4.0b6

System information

Windows 10

Issue description

In 3.x if the game breaks during a debug error, you could close the game window and go back to Godot to fix the issue, but since 4.0 if you try to X the game window while it's running, it crashes and hangs until windows has to force it to close.

Steps to reproduce

  • Run a game in godot
  • Wait until debug error causes the game to halt
  • Close the game window
    image

Minimal reproduction project

crashbug.zip

@RumblingTurtle
Copy link
Contributor

Not reproducible on Ubuntu 20.04

@Calinou
Copy link
Member

Calinou commented Dec 6, 2022

@elvisish Please upload a minimal reproduction project to make this easier to troubleshoot.

@elvisish
Copy link
Author

elvisish commented Dec 6, 2022

@elvisish Please upload a minimal reproduction project to make this easier to troubleshoot.

I literally did?
image

@elvisish
Copy link
Author

Still broken on beta 10.

@elvisish
Copy link
Author

elvisish commented Apr 5, 2023

Still doing this on 4.0.2 stable.

@elvisish
Copy link
Author

Still on 4.0.3 RC2.

@elvisish
Copy link
Author

Still on 4.1.1 stable.

@Calinou
Copy link
Member

Calinou commented Sep 22, 2023

This could probably be worked around by disabling the handling of quit requests just before performing a debug break (and restoring the previous state when resuming).

Note that pressing F8 or the Stop button in the editor doesn't send a quit request. It kills the process instead, so that functionality will keep working regardless.

@elvisish
Copy link
Author

Still happens on 4.2 stable.

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

3 participants