I am making my first 3D game. It runs quite smoothly inside Godot (most of the time at 60fps, which is the cap I have set), but the exported version runs much, much worse. Often not even reaching 20fps.
If anything, I would have expected the exported version to be faster, not slower, than the version inside Godot (especially since it's release, not debug!). As far as I can tell I'm using default export settings and templates.
Is there any way to tell what the differences are between one and the other? Maybe some project settings that get automatically set when running inside Godot?
If it helps, you can have a look at the source code here: https://git.hcoder.org/emanchado/winter-bliss-3d. Once you have the game running, go to track select and load track 7. You don't have to move or anything. If you ran it inside Godot you should get 60fps (at least on my computer). If you export the project and run the executable, though, the fps should go down considerably. On my computer it goes down to ~20fps.
I use Linux, if that makes any difference (a friend has used the Windows build and he says that it has always felt fluid, so maybe it's a Linux-specific issue?). Embedding the .pck file doesn't seem to improve performance on my machine.