After upgrading my project from UE 5.3 to 5.4, the editor seems to be taking a lot longer to open. Looking at the logs, for some reason every time the editor opens, it’s copying a bunch of starter content assets from the vault (presumably) into the project, e.g.:
LogPackFactory: Copied "../../../Samples/StarterContent/Content/StarterContent/Architecture/Floor_400x400.uasset" to "../../../../../{MyProjectFolder/ThisProject}/Content/StarterContent/Architecture/Floor_400x400.uasset" LogPackFactory: Copied "../../../Samples/StarterContent/Content/StarterContent/Architecture/Pillar_50x500.uasset" to "../../../../../{MyProjectFolder/ThisProject}/Content/StarterContent/Architecture/Pillar_50x500.uasset" LogPackFactory: Copied "../../../Samples/StarterContent/Content/StarterContent/Architecture/SM_AssetPlatform.uasset" to "../../../../../{MyProjectFolder/ThisProject}/Content/StarterContent/Architecture/SM_AssetPlatform.uasset" ...
Counting by the line numbers, it’s doing this for about 1.2k files, and I suspect this is where the slowdown is coming from.
I’m not sure why it’s doing this every single time the editor opens up instead of just the first time. Has anyone run into this before? Does anyone know how to resolve or work around this?
I’d think this would only add the starter content if it’s missing (or the first time), so I don’t know why it’d copy the file from the base engine every single time the editor launches. Furthermore the copy itself did not seem to take too long (a few seconds) but it seemed like after the copy finished unreal’s revision control then had to go through every file and check the file status and that may have been what was taking several minutes. I’m not sure because I don’t know what I’m talking about, and the log does not contain anything about the revision control – only reason I suspect this is because after the file copies finished logging, the launch popup was still stuck on one of the startercontent files for several minutes while a “Updating file(s) revision control status” popup repeatedly came up and disappeared several times.
After I commented out the StartupActions, the redundant file copy behavior went away, and the editor open went from taking several minutes to about 15seconds.
The project while using UE 5.3 had the exact same DefaultGame.ini and never had this problem, so I’m not sure if this is a user-error or a 5.4 bug. And as far as I’m aware that startup block was automatically added by unreal when I initially started the project a couple years ago so I initially hadn’t thought to touch it.
Hopefully someone more knowledgeable can chime in with some insights.