Hello!
I recently upgraded my project from version 4.26 to 5.0.3. However, I noticed a huge performance drop. After a quick look at what is causing the problem, it turned out that the cause is on the CPU side. To be more precise, it is due to the large number of AI characters that walk around the map.
So I created a new, empty project and decided to compare what the performance of a large number of AI looks like on versions 4.26 and 5.0.3. The map is very simple - there is only a flat floor and ~100 AI units walking between “random” positions.
After seeing the results of this experiment, I was very surprised at how much worse the new version of unreal performs compared to the previous one.
Below, I am sending the data from stat game
command:
World Tick Time:
- UE 4.26
– Inclusive Avg: 9.49 ms
– Inclusive Max: 14.55 ms - UE 5.0.3
– Inclusive Avg: 27.59 ms
– Inclusive Max: 39.55 ms
As you can see, the tick time almost tripled
I am also attaching the project files for both versions 4.26 and 5.0.3, in case anyone would like to check and verify this:
- UE 4.26: PerformanceTest_4.26.zip - Google Drive
- UE 5.0.3: PerformanceTest_5.0.zip - Google Drive
I also checked that the early version of unreal 5.1 looks a little better in terms of performance but is still so far from the performance of version 4.26.
Unfortunately, I have not been able to find any solution for this. Maybe someone has some ideas?