Unreal Engine 5.4 Packaging Error

Hi everyone. Has anyone experienced packaging errors for Android like the one below? This has happened to me a couple of times and for the life of me I do not know how to fix it. Any information would be greatly appreciated.

Can’t save ‘C:/Users/Weich/Documents/Many Worlds/Projects/SHHA/Samuel Demo/Samuel/Saved/Cooked/Android_ASTC/Samuel/Plugins/Convai/Content/Core/ConvaiBaseCharacter.uasset’: Illegal reference to private object: ‘BP_Samuel_C /Game/VRTemplate/Maps/VRTemplateMap.VRTemplateMap:PersistentLevel.BP_Samuel_C_1’ referenced by ‘Unknown referencer’ (at ‘Unknown owner’) in its ‘Unknown property’ property (private object belongs to an external map).

Hello @Weich14,

Could you please share all the console logs?

Hello thanks for the reply. I deleted the Binaries, Intermediate, and Saved folders and the packaging worked. But it doesn’t always. If it happens again I will share all the console logs

1 Like

Thank you.

It just happened again. I was able to package the first time, but when I tried again it failed. Here is the logfile

Build-Fail-Debug.txt (61.9 KB)

These are errors.

UATHelper: Packaging (Windows): LogWindows: Error: appError called: Can't save 'C:/Users/Weich/Documents/Unreal Projects/Evelyn/Evelyn_Beta/Saved/Cooked/Windows/Engine/Plugins/Marketplace/AIforNPC1a382f55e9e1V6/Content/Core/ConvaiBaseCharacter.uasset': Illegal reference to private object: 'VRPawn_C /Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel.VRPawn_C_1' referenced by 'BP_Malika_C_1' (at '/Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel') in its 'CallFunc_GetOwner_ReturnValue_1' property (private object belongs to an external map).
UATHelper: Packaging (Windows): LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Can't save 'C:/Users/Weich/Documents/Unreal Projects/Evelyn/Evelyn_Beta/Saved/Cooked/Windows/Engine/Plugins/Marketplace/AIforNPC1a382f55e9e1V6/Content/Core/ConvaiBaseCharacter.uasset': Illegal reference to private object: 'VRPawn_C /Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel.VRPawn_C_1' referenced by 'BP_Malika_C_1' (at '/Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel') in its 'CallFunc_GetOwner_ReturnValue_1' property (private object belongs to an external map).
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: end: stack for UAT
PackagingResults: Error: appError called: Can't save 'C:/Users/Weich/Documents/Unreal Projects/Evelyn/Evelyn_Beta/Saved/Cooked/Windows/Engine/Plugins/Marketplace/AIforNPC1a382f55e9e1V6/Content/Core/ConvaiBaseCharacter.uasset': Illegal reference to private object: 'VRPawn_C /Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel.VRPawn_C_1' referenced by 'BP_Malika_C_1' (at '/Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel') in its 'CallFunc_GetOwner_ReturnValue_1' property (private object belongs to an external map).
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Can't save 'C:/Users/Weich/Documents/Unreal Projects/Evelyn/Evelyn_Beta/Saved/Cooked/Windows/Engine/Plugins/Marketplace/AIforNPC1a382f55e9e1V6/Content/Core/ConvaiBaseCharacter.uasset': Illegal reference to private object: 'VRPawn_C /Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel.VRPawn_C_1' referenced by 'BP_Malika_C_1' (at '/Game/VRTemplate/Maps/Evelyn.Evelyn:PersistentLevel') in its 'CallFunc_GetOwner_ReturnValue_1' property (private object belongs to an external map).

Yes I was hoping someone had this issue before, however I did manage to figure it out. So for future Unreal Engine developers here’s what I did (although not elegant in my opinion):

  • The problem was the Convai Base Character Blueprint made a hard reference to my VRPawn Blueprint. (I had no idea where)
  • So what I did was to Migrate the Convai Base Character Blueprint from the core plugin files to my project’s Content folder, and replaced all the references across the project.

This seemed to fix the issue. If anybody comes up with a better solution please let me know.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.