Note: This does not occur when the nativization mode is set to "Inclusive" in the Project settings.
Current workaround: Ensure that the ChildActor class is NOT a data-only Blueprint, by adding script to an event or function graph, for example.
UATHelper: Packaging (Windows (64-bit)): xgConsole: MyActorBP__pf1010915279.cpp UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(230): error C2653: 'AMyChildActorBP_C__pf1010915279': is not a class or namespace name UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(256): error C2653: 'AMyChildActorBP_C__pf1010915279': is not a class or namespace name UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(257): error C2653: 'AMyChildActorBP_C__pf1010915279': is not a class or namespace name UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(258): error C2065: 'AMyChildActorBP_C__pf1010915279': undeclared identifier UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(258): error C2653: 'AMyChildActorBP_C__pf1010915279': is not a class or namespace name UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(258): error C2672: 'NewObject': no matching overloaded function found UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(258): error C2974: 'NewObject': invalid template argument for 'T', type expected UATHelper: Packaging (Windows (64-bit)): xgConsole: d:\dev\epic\ue4\dev-framework\engine\source\runtime\coreuobject\public\UObject/UObjectGlobals.h(1245): note: see declaration of 'NewObject' UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(259): error C3536: '__Local__2': cannot be used before it is initialized UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(259): error C2664: 'int32 TArray<UObject *,FDefaultAllocator>::Add(UObject *const &)': cannot convert argument 1 from 'int' to 'UObject *&&' UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(259): note: Reason: cannot convert from 'int' to 'UObject *' UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\dev\Epic\UE4\Dev-Framework\UE_44123_2\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\MyActorBP__pf1010915279.cpp(259): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast UATHelper: Packaging (Windows (64-bit)): xgConsole: UATHelper: Packaging (Windows (64-bit)): xgConsole: Error executing D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-44219 in the post.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Target Fix | 4.17 |
Fix Commit | 3416425 |
---|---|
Main Commit | 3431398 |
Created | Apr 20, 2017 |
---|---|
Resolved | May 1, 2017 |
Updated | Sep 23, 2019 |