Structs cause packaging to fail when Blueprint Nativization Method is set to "Inclusive"
Note: Appears to be a regression (worked in 4.15.1)
Error example:
UATHelper: Packaging (Windows (64-bit)): Cook: LogCook:Display: Cooking /Engine/EditorResources/LightIcons/S_LightError -> C:/Users/charlie.triplett/Documents/Unreal Projects/DeleteWhenDonePrev/Saved/Cooked/WindowsNoEditor/Engine/Content/EditorResources/LightIcons/S_LightError.uasset UATHelper: Packaging (Windows (64-bit)): Cook: LogSavePackage:Display: Finished SavePackage C:/Users/charlie.triplett/Documents/Unreal Projects/DeleteWhenDonePrev/Saved/Cooked/WindowsNoEditor/Engine/Content/EditorResources/LightIcons/S_LightError.uasset UATHelper: Packaging (Windows (64-bit)): Cook: LogInit:Display: Warning/Error Summary (Unique only) UATHelper: Packaging (Windows (64-bit)): Cook: LogInit:Display: Success - 0 error(s), 5 warning(s) nit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(15): error C2065: 'FStructOnScope': undeclared identifier UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(15): error C2146: syntax error: missing ';' before identifier 'StructOnScope' UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(15): error C3861: 'StructOnScope': identifier not found UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(16): error C2065: 'StructOnScope': undeclared identifier UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(16): error C2228: left of '.GetStructMemory' must have class/struct/union UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(16): error C2530: 'DefaultData__': references must be initialized UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(23): error C2653: 'UUserDefinedStruct': is not a class or namespace name UATHelper: Packaging (Windows (64-bit)): xgConsole: C:\Users\charlie.triplett\Documents\Unreal Projects\DeleteWhenDonePrev\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public/NewUserDefinedStruct__pf1010915279.h(23): error C3861: 'GetUserDefinedStructTypeHash': identifier not found UATHelper: Packaging (Windows (64-bit)): xgConsole: Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2) UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(15): error C2065: 'FStructOnScope': undeclared identifier UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(15): error C2146: syntax error: missing ';' before identifier 'StructOnScope' UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(15): error C3861: 'StructOnScope': identifier not found UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(16): error C2065: 'StructOnScope': undeclared identifier UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(16): error C2228: left of '.GetStructMemory' must have class/struct/union UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(16): error C2530: 'DefaultData__': references must be initialized UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(23): error C2653: 'UUserDefinedStruct': is not a class or namespace name UATHelper: Packaging (Windows (64-bit)): xgConsole: c:\users\charlie.triplett\documents\unreal projects\deletewhendoneprev\intermediate\plugins\windowsnoeditor\nativizedassets\source\nativizedassets\public\NewUserDefinedStruct__pf1010915279.h(23): error C3861: 'GetUserDefinedStructTypeHash': identifier not found UATHelper: Packaging (Windows (64-bit)): xgConsole: Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2) UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:1): C:\Program Files (x86)\Xoreax\IncrediBuild\xgConsole.exe "C:\Users\charlie.triplett\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+UE_4.16\UAT_XGE.xml" /Rebu UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown) PackagingResults:Error: Error Unknown Error
Head over to the existing Questions & Answers thread and let us know what's up.
6 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.16 |
Target Fix | 4.17 |
Created | Apr 26, 2017 |
---|---|
Resolved | May 2, 2017 |
Updated | Sep 23, 2019 |