Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+10 votes

hey guys, anyone else experience lag while using the Godot software? I have just given the project a bunch of assets that I'll need and it isn't a substantial amount of assets. However, when I create a tile map and I try to work on the specific tiles (to figure out player movement and boundaries) but it just keep lagging A LOT. Like I can't do anything. Any ideas on why? tips on having a Godot run smoother? (We have tried in 3 different computers and the same problem persists)

asked in CSC380Jan2024 by (3k points)

6 Answers

+6 votes

If you have player movement already then it could be that your movement/input code is in a function that it shouldn’t be, like the physics function, and is getting called over and over. Just a possibility, could be any number of things.

answered by (3.3k points)
+5 votes

I was going to mention that I experience a different problem with Godot – mine doesn't lag; instead, it freezes after about four hours of usage. However, your situation might be distinct. Dr. Stonedahl suggested trying Godot version 3.5 if the crashes persist, but given that you've tested it on three computers, I doubt this is the root cause. I would recommend investigating the code, as there could be a possibility of running an infinite call or loop.

answered by (2.1k points)
+5 votes

Ensure that your graphics drivers are up to date. Outdated or incompatible drivers can cause performance issues. And Godot supports scene instancing, which allows you to reuse scenes efficiently. Consider using scene instancing to reduce the load on your project

answered by (2.5k points)
+2 votes

I've had similar issues on my mac as well and sometimes found that a simple restart of the app works sometimes but the other answers are also great!

answered by (2k points)
0 votes

the godot devs are probably working to make godot 4 a stable version

answered by (2.3k points)
0 votes

godot is not reliable yet. My group occasionally encounters missing scene files when pushing and pulling through git

answered by (2.5k points)
...