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

Crash on project open after latest Windows 11 updates, works starting from terminal #53485

Closed
Tyler-Osborne opened this issue Oct 6, 2021 · 6 comments

Comments

@Tyler-Osborne
Copy link

Godot version

3.3.4

System information

Windows 11

Issue description

This issue only started after updating to 3.3.4. This occurs whether or not the engine is the mono version. Unless I start godot from an open terminal, the editor crashes on project load.

Steps to reproduce

-Run Godot any way but through an already open terminal.
-Creare/Open project from list.
-Instacrash

Minimal reproduction project

No response

@akien-mga
Copy link
Member

akien-mga commented Oct 6, 2021

If you use 3.3.3 again, does it now crash too?
If so, did you just happen to upgrade to Windows 11?

Unless I start godot from an open terminal, the editor crashes on project load.

It works without any issue if you start it from a terminal?

@Tyler-Osborne
Copy link
Author

Ok so did some testing. This is since the latest dev channel update. 3.3.3 has the same issue.
But, yes, it works fine if started from an open terminal. I made a batch file on my desktop that I run in an open term and it works fine that way and only that way

@akien-mga akien-mga changed the title 3.3.4 Crashes on Project Open Crash on project open after latest Windows 11 updates, works starting from terminal Oct 7, 2021
@Silver-Volt4
Copy link

Silver-Volt4 commented Oct 22, 2021

If Godot is started with a .bat file similar to this, it will not "crash".

"Godot Engine.exe"
pause

Perhaps Windows Terminal is killing the Godot process prematurely instead of the program crashing, but I cannot be certain.

@Calinou
Copy link
Member

Calinou commented Oct 22, 2021

See also #54076.

As a workaround, try compiling Godot with windows_subsystem=gui on the SCons command line. This will disable the console entirely (which means you won't be able to toggle it back on).

@cybereality
Copy link
Contributor

I believe the issue is using the Windows Terminal as your default terminal application. If you set it to Windows Console Host it should work.

@akien-mga
Copy link
Member

Duplicate of #54076

@akien-mga akien-mga marked this as a duplicate of #54076 Nov 3, 2021
@akien-mga akien-mga added archived and removed crash labels Nov 3, 2021
@Calinou Calinou removed the confirmed label Nov 3, 2021
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

5 participants