Looking for tips to improve FPS and reduce lag in large UE maps.
Hi!
To know what to optimize in your world you should:
- Use the command Stat Unit to find out if you are CPU (Game) or GPU bound. The one of these that’s “worst” is the one with the highest number and tells you if you are CPU or GPU bound.
- If you are GPU bound you can write the command Profile GPU in a run. Here you need to find your scene and then you can see what is taking the longest amount of time.
- If you are CPU Bound, you can do a trace with UE Insights: Unreal Insights in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community
- From here you can find out what is worst in your scene (by looking at the one that takes up the most time) and start by optimizing that.
However, here are some best practices to have in mind when working with large levels:
- First of all, if your world is heavily populated, you are most likely having many drawcalls. To minimize this, look into how to make similar objects into instanced static meshes. Other objects that are placed close to each other could probably be merged. Merging Actors in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community
- Use LODs on all meshes. This reduces triangle counts when you are far away from the object. Creating and Using LODs in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community
- Enable World Partition. This will help you with culling the landscape. World Partition in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community
- If you have lots of small objects in the world, set up Cull Distance Volumes. These will temporary remove objects you would barely see from a distance. You can set the size and distance of objects yourself.Cull Distance Volumes in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community
- If you have a lot of large objects that needs to be visible from far distances, enable and build HLODs.
- If you have FX, make sure they are disabled when you cant see them.
These are the tips I have at the top of my head right now. If you have more questions, don’t hesitate to ask ![]()