Massive Performance-Drop in exported Game

Godot Version

4.6.1

Question

Today I noticed something very weird:
When I’m running the exported .exe file, my game is seriously lagging and runs at around 20 fps. When I’m launching it in the Editor, I get my usual ~120 fps and an overall good Performance.

First I thought it’s because I’m using custom build-templates, so I used the original ones - same outcome.
I even switched back to the 5.4 branch, same story.

I then tried to download the latest Godot Version with it’s latest export-templates. Nothing helps, the game is performing miserably in it’s exported form.
It doesn’t matter if I set the build to debug or release.

Has anyone encountered something like this before?
My Renderer is set to forward+, and I’m experiencing this on my Desktop PC.

What could cause this strange behavior?

Does anything appear in the console?

Update: I was able to fix that issue for me by changing the setting rendering/driver/threads/thread_model from Save to Separate.

The setting says it’s experimental and should not be used. In my case, this completely solved my problem.

1 Like