Cook and Package Fail. Error component attach, worked in previous versions
This is related to other bugs posted, such as link text:
I have tried packaging first, then cook. Also I have tired deleting Intermediate and saved folders, same fail on package and cook.
I have classes that extend UMarkerComp. They are used to help generate procedural content. There was no issue with them through 4.10.
Here is an excerpt, one of the errors:
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.05.25-05.09.59:321][ 0]LogSceneComponent:Error: Component 'PickupMarker /Engine/Transient.TRASHCLASS_BaseBlockWorld1_299:PickupMarker_0' has 'BillboardComponent /Engine/Transient.TRASHCLASS_BaseBlockWorld1_299:PickupMarker_0.Billboard' in its AttachChildren array, however, 'BillboardCompon ent /Engine/Transient.TRASHCLASS_BaseBlockWorld1_299:PickupMarker_0.Billboard' believes it is attached to 'PickupMarker /Script/JLemon.Default__PickupMarker'
Here is the header of the class:
And here is the .cpp file:
asked May 25 '16 at 05:39 AM in Packaging & Deployment
I didn't think about this before, but one issue is that you're calling AttachTo in the constructor. It'll sometimes work, but it can cause some weird symptoms like this. In versions 4.11 and earlier, you'll need to set AttachParent when attaching in the constructor. From 4.12 and onwards you would call SetupAttachment instead.
answered May 26 '16 at 06:09 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here