Repository: godotengine/godot (language: cpp)

Issue:
Crash on opening Vulkan project with Bandicam installed
### Tested versions

4.3

### System information

win11 pro - nvidia geforce rtx 3080

### Issue description

Crash on new/open project in version 4.3, but can run normally when using --rendering-driver opengl3

### Steps to reproduce
· run Godot_v4.3-stable_win64.exe
· new project or open existed project.

### Minimal reproduction project (MRP)

Crash on new/open project in version 4.3, but can run normally when using --rendering-driver opengl3


Discussion / hints:
What CPU/GPU do you have? Do they support Vulkan or OpenGL? 

If you have an older device it may only support OpenGL, in which case you need to select the compatibility renderer when you create a new project
When you filled issue there was mentioned to use `Help/Copy Systems info`

How do you describe event order of the crash, at which moment specifically get crash?
I solved the problem using vulkan capability viewer, and it detect the Bandicam may cause the problem. Uninstall the Bandicam and it works. Thanks.
Could you give some details on how Bandicam was setup? Was it running while you were trying to run Godot? Or was just the fact that it's installed (without running) enough to trigger the problem?

Fix patch:
diff --git a/main/main.cpp b/main/main.cpp
index 40b437fa7462..62ae9a32c099 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2551,12 +2551,16 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
 		OS::get_singleton()->set_environment("DISABLE_RTSS_LAYER", "1"); // GH-57937.
 		OS::get_singleton()->set_environment("DISABLE_VKBASALT", "1");
 		OS::get_singleton()->set_environment("DISABLE_VK_LAYER_reshade_1", "1"); // GH-70849.
+		OS::get_singleton()->set_environment("VK_LAYER_bandicam_helper_DEBUG_1", "1"); // GH-101480.
+		OS::get_singleton()->set_environment("DISABLE_VK_LAYER_bandicam_helper_1", "1"); // GH-101480.
 	} else {
 		// Re-allow using Vulkan overlays, disabled while using the editor.
 		OS::get_singleton()->unset_environment("DISABLE_MANGOHUD");
 		OS::get_singleton()->unset_environment("DISABLE_RTSS_LAYER");
 		OS::get_singleton()->unset_environment("DISABLE_VKBASALT");
 		OS::get_singleton()->unset_environment("DISABLE_VK_LAYER_reshade_1");
+		OS::get_singleton()->unset_environment("VK_LAYER_bandicam_helper_DEBUG_1");
+		OS::get_singleton()->unset_environment("DISABLE_VK_LAYER_bandicam_helper_1");
 	}
 #endif
 


Test patch: