I imported this project from godot 4.3 to 4.4 and it's really laggy

Godot Version

4.4

Question

I imported the attached project from godot 4.3 to 4.4 and it lags, but in godot 4.3 there wasn’t any.
Is there a problem with my code?

Link to the file: help

If you could expand the code here in the forum you’d be more likely to get eyes on it; people are often nervous about downloading random archive files…

When you say it lags, what exactly is happening?

1 Like

It’s specifically lagging when playing the game. In the game, you use the mouse to interact with stuff, but it’s barely playable because the mouse keeps stuttering, even on the title screen. I also have multiple scripts, so i don’t know wich one I should post.

What platform are you on?

Use the profiler to narrow down performance issues.

The profiler gave me this:


I still don’t understand what I am doing wrong

I’m on windows

I fixed the problem! My viewport zise was too big, but i didn’t notice because part of it was off screen and it was lagging the game like crazy

1 Like