I am having issues with packaging game. Once in every few builds I get issues with shipping build.
To be more specific, I have Actor (lets call it AContainer
) which has property itemClass
(type is class of actor, has predefined value). And then AContainer
is inherited in AContainerHome
with itemClass
being overriden (value set in Class Defaults) to point to AItem
.
When run from editor, works fine every time (AItem
is rendered). However, when project is packaged, approximately every 3rd build runs as if itemClass
has not been overridden.
Note: this is not runtime issue (no matter how many times I restart game, it is consistent), so this is some issue with packaging.
I am wondering if anyone has ideas how this can be resolved?
I tried already hardcoding it in construction script, but it doesn’t make difference.
My suspicion is that somehow that AItem
is not cooked in shipping build, but I don’t know how to force it from Project Launcher menu.
This started happening after project has been upgraded to UE 5.3 (it was stable in UE 4.27).