Godot keeps "Not Responding"

Godot Version

Godot 4.2.2

Question

I open up Godot, try to follow some tutorial I found on Youtube, and then it crashes. This process takes maybe a minute from start to finish. The main problem is that when it crashes, there’s no error code or anything. Windows says this program is not responding, and gives me the option to wait or close the program. I’ve chosen wait once before, and left for 10-15 min, and it was still “waiting”. This problem is difficult to research because I don’t know the problem I have, so I can’t simply ask Google. I’ve tried many things, including but not limited to: Restarting my computer, and reinstalling Godot. Can someone please help me?

1 Like

Is it only in a specific project or any project?

None responsive apps are ones that either waiting indefinitely for a resource, in a threading deadlock, or stuck in an infinite while loop.

It could potentially be that your project has a bad tool or plugin that is causing the freeze.

You could potentially run the app from command line and preserve the output, if any.

i have had this happen too on the newest godot 4.3 beta when i save the project it randomly stops working / freezes

1 Like

Is it the editor or the game freezing? Could you take a screenshot when this happens? Any tutorial in specific? Any script in specific?

If it’s just the game freezing, then you have an error that Godot has helpfully frozen so you may debug it, click back into the editor to find out what went wrong in your scripts, then press the stop button or F8 to close the game.

@pennyloafers This is for any project; I am completely new to Godot, and can’t get more than a minute of progress in a project. I’ve also tried making new projects, and that did not work. There are no tools or plugins I am aware of.

@gertkeno the editor is freezing. It’s a standard Windows “Program not responding” error.

I’m wondering if it is a GPU issue.

You could try opening a cmd and running the Godot executable with the command option for opengl/compatibility.

I can’t remember which option it is. But --help should give you available options.

It’s one of these

--display-driver <driver>
--rendering-method <renderer>
--rendering-driver <driver>

If you cant execute Godot in a project you can specify a --path to a project.

(Note: in the project manager when creating a new project you can specify the default renderer. I would go this route if the command line isn’t an option)

The default for the editor is the Vulkan/forward+, I would like you to try opengl/compatibility mode.

The project manager window starts in opengl

If this fixes the issue you could have an out-of-date video driver.

Btw, what is your GPU or iGPU?

@pennyloafers I have a Radeon RX 560X
What is the command to run a program in cmd? I don’t often use it.

This will be a Godot command

Something like this.

C:\godot_path> godot.exe  --rendering-driver opengl --path 'C:\path_to_project'

But I can’t remember the right option

Also you can start a new project in opengl like this “compatibility”

Try this and see if the project crashed or not.

You can also create a shortcut and add the --rendering-driver opengl to the end of the shortcut’s Target field

@pennyloafers Does the project have to be saved to the Documents folder or can it be anything?

Where do I put those commands? They do nothing in CMD and I don’t see a place to put them in Godot

Also it works now(???) I literally didn’t change a thing and it decided to work I guess?

1 Like

okay that is strange…

To do command line arguments with Godot you need to cd into the folder where Godot exists. Godot isn’t installed so if its still in your Download folder, you would cd into Download and execute the command with the Godot executable. What folder the project exists shouldn’t matter as long as you know the absolute file path and you have proper file permissions.

I should have added a more obvious disclaimer for the command. as I don’t know where you keep the godot executable C:\path_to_godot, you would need to cd C:\path\to\godot_exe\. and I dont know where your project is c:\path_to_godot_project

I have been having this same problem. I was tearing my hair out tryin g to figure it out. So far - the only thing that has worked (fingers crossed, thus far) is closing any scene in the editor before I run any scene that contains the aforementioned scenes. I’ve tested this a bunch, and it seems to hold true. For clarity’s sake - If I leave a scene open in the editor, and run a a scene with that open scene in it - the game window crashes. If I close the scene in the editor, and then run the ladder scene - its fine. I’m not sure if that’s your exact issue or not, but I thought I would post here with my solution (so far). this is 4.3 tbc.

update: it seems i was wrong. I do still think its tied to the editor somehow. But the issue has been reproduced with all scenes closed so I’m unsure again. It is a big problem imo. I’m going to keep changing the parameters and see how its reproduced in game and editor - as my coding skills are mediocre at best.

In my case, I resolved the unresponsive issue by deleting the

.godot/editor

folder. Please close the editor when deleting, and after reopening, please be patient for a moment.

I’ve got this problem in my Windows 11 too. I had tried creating projects 3 to 4 times, until I found this post (and a few others in Github too). And then someone commented about the Mobile mode in Godot, so, I remembered I was creating all the games in Mobile mode, why not try Compatibility mode? So, I did, and Godot didn’t hang or crash, it actually loaded within a solid 5 seconds. You should try it too.

It is ok with me in the advanced mode i forgot it name and ok with the compatibility mode but when I turn it to mobile mode it happens so I need help