I found a few random things that affect the FPS number a lot.
First disable framerate smoothing in project settings.
Then close all other windows of other programs.
Also close as many tabs as possible in the Unreal editor.
While smaller the viewport window is, then more FPS you can get.
At the moment I have achieved about 50 FPS in PIE window by doing the above steps.
But I know that my graphics card can do much more than that because it is only working at 3%… That’s why I think that Unreal is limiting the performance of the card in some way.
Any way to modify that?
Another thing that I think is affecting FPS is my behavior tree. I think it has too many OnTick functions. That is why you see a graph with so many oscillations. So I’m going to work on that now and see if it improves performance.
I also found some videos on YouTube to optimize the performance of the game. But it doesn’t talk about any of these random things that I’ve found. Basically they talk about LODs, Textures and lighting. And I am totally sure that those things are not my problem.
So knowing that there are external factors to the game that can affect its performance, It is difficult to know if there are really problems in the code or if it is something else interacting with the editor and affecting the performance of the game.
I’m not happy with the little improvements I’ve gotten. If I can get a consistent 60 FPS in every PIE window I might be satisfied.
So please, if you know more random things that affect the performance of the game write an answer here.
Any information that shows how to properly use the tools that Unreal provides would also be very helpful.
Thank you very much for your help!!