ok, but also when I load the game it gives me a gray screen and closes two seconds later
If you don't even see the splash screen then something's stopping it from even opening properly, are all your computers' drivers and stuff up to date? Games made with the Godot engine use OpenGL if that's useful.
Just checked and all my drivers are up to date, what version of OpenGL does it run on?
I made a mistake, sorry, the lighting engine I have it set to use is Vulkan,