Godot 4.6 randomly freezes for 1 or 2 seconds then continues like nothing happend

Godot Version

4.6

[SOLVED] So godot randomly freezes

Sometimes godot just freezes and continues like nothing happend when ı run the project aswell it just freezes for 2 seconds and acts normal. This happens frequently

My specs are:

CPU: İntel i7 12700h

ram: 32gb

gpu: nvidiartx 3050 laptop gpu

1tb ssd

i dont know how to solve it i searched everywhere and coudnt find a solution to my problem pls help :slight_smile:

EDIT: So my pc was broken i sent to repair shop and they fixed it deleted everything i downloanded godot and it still happens

EDIT 2 : So it only happens when my laptop is pluged in when i unplug there is no stuters nothing it only happens when its charging ot its pluged in

EDIT 3 : I installed windows 10 and problem just disapeared i was using windows 11 idk why it solved but its gone

The OS could be interesting.
Is there something to see in the task manager (or similar), that Godot is the culprit?
Is the freeze visible in the profiler or in the visual profiler (Debugger)?

EDIT: hmm, the Godot Editor too, not only in the runtime, strange.
Do you have problems with other software (eg. games), too?

EDIT2: Same with other projects in Godot, too? Or only in this one project?
Do you use some tool scripts?

No it doesnt happen in any other aplications and i discovered that if i unplug my laptop the freezings stop it doesnt happen and yes i tested spikes from the task manager aswell i tried one destkop mode or something like that idk why it happens though no ı dont use tool scripts it happend in the other project but not on one of them i had 3 projects and it happend only on 2 of them the other one didnt have that problem but that one project is kinda old if we look at the problematic ones that one doesnt have any issues but the newely created 2 of them does have the issue

Does your system got too much heated or get too cold ? any one of these ?

I am getting the exact same thing. I suspect it might be something related to Windows, as this started happening around the time I installed the last update. Though its weird that it only happend inside Godot for me as well.

Try upgrading from 4.6 to 4.6.2-stable, which has bug fixes in it.

1 Like

no it doesnt

i did but it doesnt work i tried older versions aswell

yeah its weird and nobody has answers aswell that makes me feel angry

This sounds like it is hardware or driver related. It’s possible that the repair shop didn’t update all your drivers when they rebuilt your system. I’d recommend going to the site of the original computer manufacturer and downloading and installing all the drivers they provide for your computer. This may be the solution to your problem.

2 Likes

ok , will try and

Mine too, but its just my laptop sucks and goes thru all the graphics drivers fallbacks until it decides on one. Is yours somehow doing something similar?

Mine will hang for a couple seconds and rev up.