Nativized packaging fails when attaching paper Flipbook component to a parent paper Flipbook component that is Inherited.
For easier replication Sample Project can be found here: [Link Removed]
Expected: Packaged Successfully
Results: Fails with the following log (See OutputErrorLog.Txt)
UATHelper: Packaging (Windows (32-bit)): ********** COOK COMMAND COMPLETED **********
UATHelper: Packaging (Windows (32-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (32-bit)): Running: E:\Epic Games\Engines\UE_4.21\Engine\Binaries\DotNET\UnrealBuildTool.exe zzzNativation Win32 Development -Project="E:\Unreal Projects\zzzNativation\zzzNativation.uproject" "E:\Unreal Projects\zzzNativation\zzzNativation.uproject" -NoUBTMakefiles -remoteini="E:\Unreal Projects\zzzNativation" -skipdeploy -Man
ifest="E:\Unreal Projects\zzzNativation\Intermediate\Build\Manifest.xml" -NoHotReload -log="C:\Users\zgzg2020\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Epic+Games+Engines+UE_4.21\UBT-zzzNativation-Win32-Development.txt"
UATHelper: Packaging (Windows (32-bit)): Using Visual Studio 2017 14.16.27023 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows (32-bit)): Parsing headers for zzzNativation
UATHelper: Packaging (Windows (32-bit)): Running UnrealHeaderTool "E:\Unreal Projects\zzzNativation\zzzNativation.uproject" "E:\Unreal Projects\zzzNativation\Intermediate\Build\Win32\zzzNativation\Development\zzzNativation.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
UATHelper: Packaging (Windows (32-bit)): Reflection code generated for zzzNativation in 12.9633297 seconds
UATHelper: Packaging (Windows (32-bit)): Writing manifest to E:\Unreal Projects\zzzNativation\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows (32-bit)): Building 4 actions with 12 processes...
UATHelper: Packaging (Windows (32-bit)): [1/4] zzzNativation.cpp
UATHelper: Packaging (Windows (32-bit)): [2/4] Module.NativizedAssets.gen.cpp
UATHelper: Packaging (Windows (32-bit)): [3/4] Module.NativizedAssets.cpp
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(455): error C2065: 'ABP_ActorA_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(455): error C2672: 'CastChecked': no matching overloaded function found
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(455): error C2974: 'CastChecked': invalid template argument for 'T', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\UObject/Linker.h(519): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(455): error C2974: 'CastChecked': invalid template argument for 'To', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(224): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(456): error C3536: 'Local_12': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(461): error C2065: 'ABP_ActorA_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(461): error C2059: syntax error: '>'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(461): error C2061: syntax error: identifier 'bpvChildActorA_pf'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(462): error C3536: 'Local_13': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(472): error C2065: 'ABP_ActorB_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(472): error C2672: 'CastChecked': no matching overloaded function found
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(472): error C2974: 'CastChecked': invalid template argument for 'T', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\UObject/Linker.h(519): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(472): error C2974: 'CastChecked': invalid template argument for 'To', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(224): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(473): error C3536: 'Local_16': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(478): error C2065: 'ABP_ActorB_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(478): error C2059: syntax error: '>'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(478): error C2061: syntax error: identifier 'bpvChildActorB_pf'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(479): error C3536: 'Local_17': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(481): error C2065: 'ABP_ActorC_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(481): error C2672: 'CastChecked': no matching overloaded function found
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(481): error C2974: 'CastChecked': invalid template argument for 'T', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\UObject/Linker.h(519): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(481): error C2974: 'CastChecked': invalid template argument for 'To', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(224): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(482): error C3536: 'Local_18': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(487): error C2065: 'ABP_ActorC_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(487): error C2059: syntax error: '>'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(487): error C2061: syntax error: identifier 'bpvChildActorC_pf'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(488): error C3536: 'Local_19': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(490): error C2065: 'ABP_ActorD_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(490): error C2672: 'CastChecked': no matching overloaded function found
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(490): error C2974: 'CastChecked': invalid template argument for 'T', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\UObject/Linker.h(519): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(490): error C2974: 'CastChecked': invalid template argument for 'To', type expected
UATHelper: Packaging (Windows (32-bit)): E:\Epic Games\Engines\UE_4.21\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(224): note: see declaration of 'CastChecked'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(491): error C3536: 'Local_20': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(496): error C2065: 'ABP_ActorD_C_pf503790866': undeclared identifier
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child__pf503790866.cpp(496): error C2059: syntax error: '>'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(496): error C2061: syntax error: identifier 'bpvChildActorD_pf'
UATHelper: Packaging (Windows (32-bit)): E:\Unreal Projects\zzzNativation\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\BP_Character_Child_pf503790866.cpp(497): error C3536: 'Local_21': cannot be used before it is initialized
UATHelper: Packaging (Windows (32-bit)): ERROR: UBT ERROR: Failed to produce item: E:\Unreal Projects\zzzNativation\Binaries\Win32\zzzNativation.pdb
UATHelper: Packaging (Windows (32-bit)): (see C:\Users\zgzg2020\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Epic+Games+Engines+UE_4.21\UBT-zzzNativation-Win32-Development.txt for full exception trace)
PackagingResults: Error: '>'
UATHelper: Packaging (Windows (32-bit)): Total build time: 46.04 seconds (Parallel executor: 0.00 seconds)
PackagingResults: Error: identifier 'bpv_ChildActorA_pf'
PackagingResults: Error: '>'
PackagingResults: Error: identifier 'bpv_ChildActorB_pf'
PackagingResults: Error: '>'
PackagingResults: Error: identifier 'bpv_ChildActorC_pf'
PackagingResults: Error: '>'
PackagingResults: Error: identifier 'bpv_ChildActorD_pf'
PackagingResults: Error: UBT ERROR: Failed to produce item: E:\Unreal Projects\zzzNativation\Binaries\Win32\zzzNativation.pdb
UATHelper: Packaging (Windows (32-bit)): Took 46.4277341s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (32-bit)): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\zgzg2020\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Epic+Games+Engines+UE_4.21\UBT-zzzNativation-Win32-Development.txt)
UATHelper: Packaging (Windows (32-bit)): (see C:\Users\zgzg2020\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Epic+Games+Engines+UE_4.21\Log.txt for full exception trace)
UATHelper: Packaging (Windows (32-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (32-bit)): BUILD FAILED
PackagingResults: Error: UnrealBuildTool failed. See log for more details. (C:\Users\zgzg2020\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Epic+Games+Engines+UE_4.21\UBT-zzzNativation-Win32-Development.txt)
PackagingResults: Error: Unknown Error
LogAssetEditorManager: Opening Asset editor for Blueprint /Game/Blueprint/BP_Character.BP_Character
LogAssetEditorManager: Opening Asset editor for Blueprint /Game/Blueprint/BP_Character_Child.BP_Character_Child
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-68123 in the post.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.20, 4.21 |
Created | Jan 8, 2019 |
---|---|
Resolved | Jul 15, 2021 |
Updated | Jul 19, 2021 |