Description

Not a regression as this also occurs in 4.25.4

Packaging does not work with BP Nativization on exclusive or inclusive (see [Link Removed])

Error Messages (see log for full output, many related errors):

 UATHelper: Packaging (Windows (64-bit)):     C:/Users/corey/Documents/Unreal Projects/ActionRPG/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/WB_PurchaseItem__pf3311640339.cpp(634): error C2065: 'UWB_GenericButton_C__pf4278105223': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):     C:/Users/corey/Documents/Unreal Projects/ActionRPG/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/WB_PurchaseItem__pf3311640339.cpp(634): error C2672: 'NewObject': no matching overloaded function found
UATHelper: Packaging (Windows (64-bit)):     C:/Users/corey/Documents/Unreal Projects/ActionRPG/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/WB_PurchaseItem__pf3311640339.cpp(634): error C2974: 'NewObject': invalid template argument for 'T', type expected
Steps to Reproduce
  1. Open Action RPG Sample
  2. Set Blueprint Nativization Mode to Exclusive
  3. Package for Windows

Result: Packaging Fails with many errors and warnings such as error C2248: 'FPrimaryAssetType::Name': cannot access private member declared in class 'FPrimaryAssetType'

Expected: Packaging completes successfully

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-104055 in the post.

2
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.25.44.26
CreatedDec 3, 2020
ResolvedDec 3, 2020
UpdatedDec 4, 2020