There's a bug in ChildActorComponent.cpp line 95 that causes package to fail

Error:

UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: begin: stack for UAT
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: === Handled ensure: ===
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error:
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: Ensure condition failed: ChildActorTemplate == nullptr [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Engine\Private\Components\ChildActorComponent.cpp] [Line: 95]
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: Found unexpected ChildActorTemplate LinkerPlaceholderExportObject /Game/Blueprints/FlappyBirdV2_Pawn_BP.PLACEHOLDER-INST_of_PLACEHOLDER-CLASS__Primary_Camera_C_0 when ChildActorClass is null
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: Stack:
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000B836BA76 UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000B80CAE3A UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Android (ETC1)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000B80DECD6 UE4Editor-Core.dll!UnknownFunction []

Not sure what the cause is. Can’t seem to debug it.

Primary_Camera is a blueprint that’s added to another blueprint. It automatically converts it to child actor.

Game plays perfectly, just won’t package to Android ETC1

I fixed it by:

  1. Unlinking all events/function that calls all child actor components from being called in blueprint.
  2. Package until it’s successfully package
  3. Reattach all child actor components
  4. Re-package again.

I tried the above fix, unlinking all child components. I even deleted the child components from the blueprint but still had the same ‘ChildActorTemplate LinkerPlaceholderExportObject’ error.

The solution that I found was to simply drag the blueprint & child to another folder. Then the packaging works fine again.

The same problem happened to me in 4.19 and this fixed it:

  1. Move the offending (or offended?) blueprint (in the error log above that would be /Game/Blueprints/FlappyBirdV2_Pawn_BP) to another folder (which can be a newly created sub folder)

  2. RMB on the root folder and choose “Fix Up Redirectors in Folder” from the context menu

  3. Move the blueprint back to the original folder

  4. Again RMB on the root folder and choose “Fix Up Redirectors in Folder”

That seams to clear all “PLACEHOLDER-INST_of_PLACEHOLDER-CLASS” for the blueprint, and after that my project packaged without problems.

I solve mine by doing this(image below)… not sure how it works