Hi, i recently updated project from 5.7.2 to 5.8.1 and upon testing discovered the GC Purge Garbage pass taking at least 10x more time compared to 5.7.
I have then tested the same finding via two blank projects created in 5.7.2 and 5.8.1 to rule out project specific cause.
See attached screenshots from unreal insights and steps to reproduce
Thank you
What Type of Bug are you experiencing?
Framework
Steps to Reproduce
Can be reproduced by creating two blank BP projects.
One 5.7.2 and other 5.8.1:
For each:
Create simple BP actor with scene component and static mesh component.
Spawn considerable amount of actors, 100K in my case
Then force level teardown by transitioning to another level via open level node.
Test via editor PIE with profiler on
Test via packaged test build with profiler on
check results via profiler
Expected Result
Expected result should be identical or near identical performance for the GC phase.
Observed Result
At least 10X worse needed time to process GC phase
Have you found a solution to this issue?
We have a large game world and the unload time increased from 7 seconds to 68 seconds, e.g. when returning to the main menu.
This is a game-breaking issue.. Curious why nobody else is talking about it.
Just tested on 5.8.3 out of curiosity, the problem still persists. No solution yet, im quite far from releasing anything but if it comes to it as potential workaround in non editor builds i was considering time slicing destroying actors and forcing GC same frame just before i intend to unload current world. This would prevent the whole process from freezing for several seconds and instead the player would have to stare at some kind of fade/ending screen. But i hope i will not have to resort to this.