godot crashes in windows 11

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By nebula

godot engine crashes when open a project or create new project in windows 11 please fix this bug

As other commentary said this is fixed now but if you don’t want to update you could open the engine with Admin Rights and it will work (At least that worked for me).

CosmoXD | 2021-12-26 18:36

:bust_in_silhouette: Reply From: Calinou

This is fixed in Godot 3.4.2 by [Windows, 3.x] Detect new Windows Terminal and disable unsupported set_console_visible code. by bruvzg · Pull Request #55967 · godotengine/godot · GitHub, try upgrading.

I’ve just tried Godot 3.4.2 and this does not work for me. As soon as I try to launch the Godot engine it immediately crashes afterward.

PocketPixie | 2021-12-26 17:38

depends on what I’m doing it seems. Godot 3.4.2 loads fine and some things work OK.
If I load the game I’m working on though, my Radeon driver software kicks in with a n error and the PC locks for 30 seconds.

deaton64 | 2021-12-26 20:15

Nothing is working for me. I have the shortcut of 3.4.2 on Windows 11 latest update and it loads the console then everything closes down.

PocketPixie | 2021-12-27 02:11

Try starting Godot from a terminal, or change your terminal from Windows Terminal back to ConHost: Godot will not startup from project manager if the default terminal application is set to Windows Terminal in Windows 11 · Issue #54076 · godotengine/godot · GitHub

Calinou | 2021-12-28 20:17

I launched Godot from command prompt, rather than changing my default terminal. That seemed to work.

I also did this:
make a copy of the Command Prompt Shortcut that’s in "%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools"
In the properties of the new Shortcut, change the Target to be %windir%\system32\cmd.exe /c "C:\Program Files\Godot\Godot_v3.4.2-stable_win64.exe"

If I just create a normal shortcut I still get issues, the above worked for me.

deaton64 | 2021-12-29 12:51