I have a few blueprints I’m trying to nativize. I’m on 4.19.2 compiling a PS4 target. I’m running into this error:
UATHelper: Packaging (PlayStation 4): [9/25] orbis-clang.exe Module.NativizedAssets.gen.6_of_7.cpp
UATHelper: Packaging (PlayStation 4): In file included from D:\FirewallTrunk\Intermediate\Plugins\NativizedAssets\PS4\Game\Intermediate\Build\PS4\Firewall\Development\NativizedAssets\Module.NativizedAssets.3_of_9.cpp:4:
UATHelper: Packaging (PlayStation 4): In file included from D:\FirewallTrunk\Intermediate\Plugins\NativizedAssets\PS4\Game\Source\NativizedAssets\Private\ABP_PlayerCharacter_Female__pf1127445899.cpp:401:
UATHelper: Packaging (PlayStation 4): In file included from D:/FirewallTrunk/Source\Firewall/Player/FWPlayerCharacter.h:18:
UATHelper: Packaging (PlayStation 4): In file included from E:\UnrealDev\UE4.19.2\Engine\Source\../Plugins/Runtime/PS4/Morpheus/Source/Morpheus/Public/MorpheusFunctionLibrary.h:8:
UATHelper: Packaging (PlayStation 4): E:\UnrealDev\UE4.19.2\Engine\Plugins\Runtime\PS4\Morpheus\Source\Morpheus\Public\MorpheusTypes.h(7,10): fatal error: 'MorpheusTypes.generated.h' file not found
UATHelper: Packaging (PlayStation 4): #include "MorpheusTypes.generated.h"
I’ve tried a lot of variations to pick up these headers in my DefaultEngine.ini config:
[BlueprintNativizationSettings]
+FilesToIncludeInModuleHeader="MorpheusTypes.generated.h"
+FilesToIncludeInModuleHeader="MorpheusFunctionLibrary.generated.h"
+FilesToIncludeInModuleHeader="../Plugins/Runtime/PS4/Morpheus/Intermediate/Build/PS4/Firewall/Inc/Morpheus/MorpheusTypes.generated.h"
+FilesToIncludeInModuleHeader="../Plugins/Runtime/PS4/Morpheus/Intermediate/Build/PS4/Firewall/Inc/Morpheus/MorpheusFunctionLibrary.generated.h"
+FilesToIncludeInModuleHeader="../Plugins/Runtime/PS4/Morpheus/Source/Morpheus/Public/MorpheusTypes.h"
+FilesToIncludeInModuleHeader="../Plugins/Runtime/PS4/Morpheus/Source/Morpheus/Public/MorpheusFunctionLibrary.h"
Originally I was having trouble picking up MorpheusFunctionLibrary.h but adding it to the .ini worked. I’ve been unable to pick up any of the generated headers though.
Is this a limitation of the current built in nativization? Are there any work arounds? Thanks!