Actors with large numbers of components cause long hitches during cooking.
Here is a brief profile from Very Sleepy of the process while the editor was cooking:
I've managed to reproduce this issue in a clean project (found here: 336859-mapcookhitchrepro.zip[Image Removed]).
It contains two maps:
- HitchRepro45000: contains 45,000 cubes as static mesh actors
- HitchRepro15: contains 15 actors, each of which contain 3000 cube static mesh components
Cooking the project reveals the following (cook log here: 336858-mapcookhitchrepro-cook.log[Image Removed]):
- HitchRepro45000: hitches for ~30 seconds
- HitchRepro15 hitches for ~23 minutes
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-74552 in the post.