#Game is extremely laggy after updating to 4.3

1 messages · Page 1 of 1 (latest)

lusty pilot
#

I updated from Godot 4.2.1 to 4.3, and it lags a lot when I open my game. The game was running perfectly fine but became unplayable when I updated.

misty viper
#

Do you have any other information to help narrow things down? Such as:

  • using forward+ or compatibility?
  • any new errors or warnings when you updated?
  • which OS are you using?
  • what type of game, such as 2d or 3d?
  • does it happen all the time or only in certain scenes?
#

There's a very high probability it's a bug or regression, but you'll need to narrow down what causes it

lusty pilot
#

I'm using forward+, my OS is Windows 10, it's a 3D game, the lag happens in every scene, and the only error I saw was the Godot Jolt plugin not being updated. I switched the physics engine back to the default and removed the plugin but there was still lag.

misty viper
#

Interesting

#

Might be some renderer bug

#

Have you already checked if a fresh 4.3 project with a simple 3d scene is laggy?

lusty pilot
#

There isn't any lag at all

#

It's running fine with a simple scene

misty viper
#

Okay, so it's one of the things visible in your scene. Or maybe part of your environment setup, like postprocessing or global illumination

#

This is a regression from 4.2, so if you find out what causes it it will be high priority to fix and might make it into the first 4.3.1 patch

lusty pilot
#

I don't have any post processing in my scene and I have a default sky for my environment. My models are also simple so I don't really know what could be causing it.

misty viper
#

Are you able to share a screenshot of your scene or the scene tree?

#

I think you almost have enough for a good bug report - even ruling out that it's an advanced rendering feature is quite useful

lusty pilot
#

These are all of the nodes in the first scene

#

And this is the scene

misty viper
#

Nothing is really jumping out at me

#

What kind of lag is it, specifically? Is it consistent low framerates, or a long pause at the start, or occasional stutters?

lusty pilot
#

Consistent low frame rate and my FPS is 1

misty viper
#

!!

lusty pilot
#

The same project runs perfectly fine with probably around 60 FPS in Godot 4.2.1

misty viper
#

Okay, you should report this here:
https://github.com/godotengine/godot/issues/new/choose

Post all the info you already shared here, so engine contributors can find out what changed. Also, copy your system info with Help / Copy System Info in godot when you report.

Ideally you would be able to make a minimal reproduction project by adding things to an empty project one by one until you find what causes it. But I understand if you don't have time for that

GitHub

GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

#

You probably won't get an immediate response without having narrowed down the cause, but hopefully someone else will have the same issue and can link to yours

#

I'd emphasize that it's a performance regression from the last stable version down to ONE fps

#

Sorry I couldn't be more help

median maple
#

You could make a copy of your game and keep striping things out until you get normal framerate to single out the culprit. Or if your game is opensource you can share it and we can spot it for you, whatever makes you comfortable.

misty viper
#

Thanks for reporting!