So recently, I’ve tried out Godot for my first time to make my 1st 3D game. And I’ve really enjoyed it! adding things is really easy, gdscript is a really nice and easy programming language, etc. I was really enjoying this engine until 2 days ago, when I started working on a title screen for my game. it just started randomly crashing, to the point where it is unusable I have no idea how it happened, I did ask the Godot discord server how to do this and to not much avail. Keep in mind, I have been working on my game for about a month. And I have a prototype of the game almost ready to send to a friend. I do have one window mode enabled, and I have been trying to get this working, and it just hasn’t. I am considering on just using a different game engine and I really don’t want to do that, since I had been really enjoying this engine. Is there any method to fix this?
I haven’t updated my drivers in awhile, The godot logs haven’t been much use to me so far, I am working on windows, and I have 12 gigabytes of ram on my gpu.
This isn’t very informative, you should post your full log and system info, all the details are important. Also, keep your drivers and OS up-to-date, when you say you haven’t updated your drivers in a while you could be experiencing a driver related issue that was already solved. But I think if that doesn’t help you’re be better off opening an issue here anyway.
If anyone has ever experienced this, and fixed this issue, please let me know! Every online forum I’ve seen showcasing this issue hasn’t been able to fix it. This is like the Xbox 360 red ring of death, but with the Godot engine.
Because “this issue” does not exist. There is no such issue as “Godot crashes” because the reasons for a crash are manifold.
It could be because of a bug in the software, but more commonly it’s because of the data thrown at it (your assets and scenes and scripts), or the machine it runs on (buggy drivers, failing hardware).
If you want a solution you need to provide the details as mentioned above! The logs specifically but also the actual behaviour that you observe since there is no uniform definition of “crash”.
You have the "plop and its gone” crash to desktop, you have various messages telling you the software has crashed (those details matter), you have the situation where the app is no longer responsive (frozen - could be a script of yours in an infinite loop), and of course you have the “entire OS is frozen” as well as “computer reboots”. The latter two are most commonly a system issue.
Never mind, it has started crashing again. Hard editor crash, including the console, so not dice there. Drivers and OS are up to date, running windows 11 with 32Gb ram, i7 13700k, RTX 5080, and not other applications are crashing like this. It just randomly crashes, not repeatable, but every few minutes, could be doing anything and it will just CTD.
I have an EV log, please let me know where I can find other logs that might be needed.
Hey mate, hope you’ve sorted it out, but if not, I was having the same issue as you, editor kept crashing, and I couldn’t find any logs to explain why. I was using the steam version, which doesn’t come with the console .exe that is needed to get the editors logs (afaik), so I downloaded Godot 4.5.1 from the Godot site instead, hoping to use the console version to find the issue, but turns out it doesn’t crash anymore, so perhaps is an issue with the steam version for some reason. Hope this helps, if not, at least using the console version of the exe will give you a better idea what is going wrong. I case you don’t already know the console version of the exe is included in all godot downloads from the site, the zip contains two .exe’s, the normal version, and the console version. I’m just getting into godot myself and it seems great compared to GMS, I’d be a shame if you had to loose all that work switching to another engine due to issue with steams version.
Godot editor seems to crash after ~two minutes of use here. Just closes, doesn’t seem to matter what I’m editing. I was using Steam’s 4.5.1 stable, so tried editing in recovery mode. No help.
I downloaded 4.5.1 stable separately to try it (same issue). I tried the console version, but the console crashed with it (is that expected?).
My project is the problem. Something went bad. I created a fresh empty project and couldn’t repro the issue. I seem to remember deleting a script (from Godot) soon before the trouble started, then tried adding a script to a Timer node (I think it died there)–might be related?
Short of starting from scratch, what’s the best way forward?
As the OPs problem seemed to be Nvidias OpenGL driver I just wanted to add that from Godot 4.6 on the default renderer is Direct3D 12 and not OpenGL anymore. Apparently there were too many problems with it. Maybe switching to Direct3D12 helps with 4.5.1 too. I’m not sure how much of a difference there is between 4.5.1 and 4.6. But the source might have more information on that.
Good to know, since I was wrong, and I’m crashing after all. I don’t think that was Chompsie’s Nvidia issue, but I’d love to know how to get a log like that to inform me about this
UPDATE
I ran Godot from PowerShell and found this, although it doesn’t appear every time. Ugh. C’mon Godot. This is a minimal project right now, just a theme with a font and some UI that displays the time.
WARNING: Failed to load cached shader, recompiling.
at: _load_from_cache (drivers/gles3/shader_gles3.cpp:612)
OpenGL API 3.3.0 Core Profile Context 25.12.1.251128 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeon RX 6700S
ANOTHER UPDATE
I bit the bullet and started recreating the project. It went fine until I created the theme resource and Godot crashed. “Aha” I thought, but no. I deleted the resource. Another crash when I moved a font and icon into the directory. Why is Godot so unstable suddenly? I can’t remember if it had ever crashed before this.