Description
Tested versions
Happens in Godot 4.4.1 and all previous versions of Godot 4.4
Did not happen in any version prior to Godot 4.4
System information
Godot v4.4.1.stable.mono - Windows 11 (build 26100) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 Ti (NVIDIA; 32.0.15.7628) - AMD Ryzen 7 3800XT 8-Core Processor (16 threads)
Issue description
SYMPTOMS: When I call Quit() on the scene tree in C#, the editor sometimes freezes for about 10 seconds, then both monitors go black and Windows 11 resets the Windows UI, background in Windows sometimes disappears. Visual Studio does not crash, only the Godot editor. During the 10 seconds, mouse doesn't move, the computer freezes completely.
I have reported this before and the issue calling GetTree().Quit(); is still happening. It is happening even more frequently for me since 4.4.1. It was not ever an issue prior to Godot 4.4. That said, I have checked all my code for thread-safety and everything is good. I am about out of ideas on this one.
Faulting application name: Godot_v4.4.1-stable_mono_win64.exe, version: 4.4.1.0, time stamp: 0x67e3400c
Faulting module name: nvoglv64.dll, version: 32.0.15.7628, time stamp: 0x680e5f6a
Exception code: 0xc0000005
Fault offset: 0x0000000000e6ccf1
Faulting process id: 0x36E8
Faulting application start time: 0x1DBC140750ABF3C
Faulting application path: I:\Godot_v4.4.1-stable_mono_win64\Godot_v4.4.1-stable_mono_win64.exe
Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_fcb8b2221bca6b43\nvoglv64.dll
Report Id: 14296079-0007-4156-a892-bf842288b5a7
Faulting package full name:
Faulting package-relative application ID:
Godot v4.4.1.stable.mono - Windows 11 (build 26100) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 Ti (NVIDIA; 32.0.15.7628) - AMD Ryzen 7 3800XT 8-Core Processor (16 threads)
Steps to reproduce
Just running my game and when I click my quit button, it sometimes crashes; I would estimate it crashes about 20% of the time.
private void On_QuitGameButton_Pressed()
{
GetTree().Quit();
}
Minimal reproduction project (MRP)
I don't have a MRP available.