Ok, so I will describe my problem in details: Godot can’t open my project due to some undefined behaviors. These resulted in changing my rendering options in my new projects. Causing godot cannot detect OpenGL API. This make godot using Vulkan instead, and after attempting to use Vulkan, my device doesnt support, it switch to D3D12 which my device also not support; therefore, it crash.
The Solution : You can only use the compatibility mode for the fix (I’m trying to figure out how to fix for the other mode, if I find anything helpful, I will update).
You go to your project folder, find the file name project.godot, and open it. Find:
- [application]: replace with config/features with this config/features=PackedStringArray(“4.3”, “GL Compatibility”)
-[rendering]: replace the content of it with this:
renderer/rendering_method=“gl_compatibility”
renderer/rendering_method.mobile=“gl_compatibility”
=> These changes will only succeed if your renderer mode is compatibility.
Wish you goodluck!
If you find the above instruction doesnt work, please copy this content into your project.godot (make sure to change the project’s name, read it carefully):
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="YOUR_PROJECT_NAME_HERE"
config/features=PackedStringArray("4.3", "GL Compatibility")
config/icon="res://icon.svg"
[rendering]
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"