today I upgraded my project from 5.0 to 5.1.
The overall upgrade seams successful, but I noticed a huge performance issue in the editor and if I run the game in the editor (or standalone from the editor).
I changed none of my settings, what can cause this huge impact with the performance?
If I’m not moving, the performance seems to be ok, but soon as I start to move, the frame rate drops to 10-15 fps (frame time).
I also noticed that the shader preparation is often running, how can I compile all shaders beforehand?
My Specs:
Unreal 5.1. (source build)
Ryzen 7 3800X
64GB Ram
GeForce RTX 3060 with 12 GB (drivers are up to date)
Do a GPU profile ( CTRL-SHIFT-, ) and take a look at the ‘big’ bits.
My framerate on one level went from 80 to 30. I fixed it using the Lumen overview. In my case, the surface cache was getting ‘too friendly’ with some hedges I had. I configured the leaves to not contribute to distance field lighting, and things were much more near normal after that.
I turned off ‘affect distance field lighting’ on the leaf mesh. Because I only wanted the basic hedge shape to be used in calculations.
The best thing is to look at your scene in the Lumen overview. It should look roughly the same as the actual scene. If it doesn’t, then it’s time to track down what’s going on.