#Game crashing for unknown reason?

39 messages · Page 1 of 1 (latest)

coral salmon
#

I am unsure why but when I load a project it fails to load said project, I created my first game and it worked perfectly fine and was super fun. But the next day I can no longer make or access old projects? I have tried uninstalling Godot completely has anyone had this happen to them before?

coral salmon
#

I beg someone save me 🥲

true saddle
#

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.

coral salmon
#

will that be a problem? i will do it when i get home but it wont be for 5+ hours

true saddle
#

Yeah. You need to adapt this to your path of Godot, but essentially its just adding the --single-window

coral salmon
#

okay epic

true saddle
#

Just report nack once you have the time.

coral salmon
#

thank you so much i will!!

true saddle
#

It might help. (No sure thing with game developmemt)

coral salmon
#

Okay time to try it!

coral salmon
true saddle
#

Can you make a screenshot of the shortcut settings? (Just to double check)

true saddle
#

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.

coral salmon
coral salmon
#

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:

coral salmon
#

I will have this chat opened on my sec mon to ensure I dont take forever to respond LOL

true saddle
#

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.

coral salmon
#

this is the only one I have it is already disabled

#

should I try enabling it?

coral salmon
true saddle
#

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.

coral salmon
true saddle
#

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.

coral salmon
true saddle
#

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)

coral salmon
#

It has fixed!

#

My drivers were too out of date!

#

I finally updated it (It took 30 minutes of cleaning useless files)

coral salmon
true saddle
#

You are welcome!

coral salmon
#

Do I have to close this chat?

#

Or do yall leave it open so others with the same problem can see?