Summary
Engine: 5.8.1 (++UE5+Release-5.8-CL-56057345), target platform iOS, versioned cook (IsUnversioned=false).
An empty UMetaHumanCollection created through the official factory serializes an editor-only DefaultInstance subobject into the cooked package import table.
What Type of Bug are you experiencing?
Foundation (C++ Tools, Profiling, & Pipeline)
Steps to Reproduce
- Create an empty UMetaHumanCollection via UMetaHumanCollectionFactory (no CopyContentsFrom, no DefaultInstance access, no wardrobe items, no Build).
- Save the package.
- Cook that single package for iOS with versioned serialization.
Expected Result
An editor-only default subobject should not appear as a cooked import, and the cooked package should load without an editor-only template dependency.
Observed Result
The cooked package’s import table contains /Script/MetaHumanCharacterPalette.Default__MetaHumanCollection:DefaultInstance, a WITH_EDITORONLY_DATA default subobject. At runtime this produces “Missing Dependency, missing script import …” followed by “CreateExport: Could not find template object … for DefaultInstance”.
Affects Versions
5.8
Platform(s)
iOS
Upload an image
StageAImportMap.txt (1.2 KB)README.md (440 Bytes)ReproCommands.txt (1014 Bytes)StageAFactoryRepro.cpp (1.58 KB)
Additional Notes
The cook itself completes with exit code 0; the issue is the serialized import and the subsequent runtime template lookup, not a cook crash.
Attached are the minimal editor-only factory reproduction, the versioned iOS cook command, the resulting sanitized import-map/runtime symptom, and a README. No binary asset or screenshot is attached; the snippet regenerates an equivalent empty asset.