#Game crashing for unknown reason?
39 messages · Page 1 of 1 (latest)
I beg someone save me 🥲
Hi there 😊,
Can you make a shortcut to the engine and add --single-window to the end of the application path of the shortcut?
it should look something like this: C:\godotfolder\Godot_v4.2.1_stable.exe --single-window
Then start Godot via the shortcut.
sadly i am not home at the moment but also i have godot on my d drive
will that be a problem? i will do it when i get home but it wont be for 5+ hours
Yeah. You need to adapt this to your path of Godot, but essentially its just adding the --single-window
okay epic
Just report nack once you have the time.
thank you so much i will!!
It might help. (No sure thing with game developmemt)
Okay time to try it!
Sadly still the same result happens when opening it :(
Can you make a screenshot of the shortcut settings? (Just to double check)
yes
Alright, looks good.
Let's take a look in the event viewer of windows, it's technical, but don't fret.
If you press the windows button and enter "event viewer" in the search bar and click the search result, it opens the "event viewer".
we can take a look which error might have been thrown when the application crashed.
After opening the event viewer there should be a folder named "current views" in the top left and inside this is a filter named "administrative events" if you click this, the central part of the event viewer will show important information in regards to applications and system services.
You can browse this but there will be a lot of events. Better try to start Godot again and bring it to crash.
Then in the event viewer click on the administrative events again, the crash should be one of the top rows in the center part, being of level error with a red symbol.
If you click it, in the bottom center part you will be greeted by the error which led to the crash from windows point of view.
Make a screenshot or paste the text, it'll be technical.
Okay I will do that after my 9:35 class!
I dont see a current views but I see custom views with administrative events
Faulting application name: Godot_v4.2.1-stable_win64.exe, version: 4.2.1.0, time stamp: 0x00000000
Faulting module name: vulkan-1.dll, version: 1.3.241.0, time stamp: 0x6400ec87
Exception code: 0xc0000005
Fault offset: 0x0000000000045785
Faulting process id: 0x69b0
Faulting application start time: 0x01da7fcdb82fd030
Faulting application path: D:\godot\Godot_v4.2.1-stable_win64.exe
Faulting module path: C:\Windows\SYSTEM32\vulkan-1.dll
Report Id: 12a0c5c9-c434-40ed-9323-6c046946ce5a
Faulting package full name:
Faulting package-relative application ID:
this is the godot error I have
I will have this chat opened on my sec mon to ensure I dont take forever to respond LOL
Alright!
The error has to do with Vulkan, which is responsible for modern rendering. Some programs put an overlay in other applications (you may know it from discord overlay to see who is taking).
I see you are using Twitch Studio, did you by any chance update your GPU drivers or updateTwitch Studio? In the Godot Issue Tracker Twitch Studio is listed a program causing issues with its overlay.
Could you open Twitch Studio and look for the Overlay feature in the settings and disable it (you may need to restart your PC once as sometimes overlays get not removed immediately).
If this doesn't fix it, look if you can stop Twitch Studio while using Godot.
I havent opened twitch studio in a while but i will try it!
this is the only one I have it is already disabled
should I try enabling it?
I dont believe I updated any drivers recently but I could be wrong
yeah, it's a wild goose chase here. Now we know it has to do with vulkan, but it could be any program which manipulates other 3D-programs by inserting an overlay. Discord, Steam, GOG, ... Twitch Studio was explicitly mentioned in an issue on the Github issue tracker and I saw you have it installed, but if the overlay is disabled it should not be inserting anything.
Since it worked for you days ago, it must been a recent change, but it can be very subtle, because many applications autoupdate today.
So its likely something I have open often?
I assume you shutdown your machine regularly? Or do you put your system into suspend? One try would be to reboot and open Godot as quickly as possible to "overtake" any other tools which add something to vulkan, just to check if it is another tool.
I will try that, i turn it off every night yes
it's finicky and not bound to work every time, but worth a try. I also encourage you to take a look at the crash report in the Event Viewer again, sometimes one is lucky and the real application causing the crash is mentioned (currently the error happens in the graphics drivers, which is not very helpful, but sometimes it comes at a delay or on-time and it crashes via the real culprit)
It has fixed!
My drivers were too out of date!
I finally updated it (It took 30 minutes of cleaning useless files)
Thank you so much for the help!
You are welcome!