Unable to nativize blueprints referencing generated headers targeting PS4
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:
I've tried a lot of variations to pick up these headers in my DefaultEngine.ini config:
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!
So you have a native file Firewall/Player/FWPlayerCharacter.h that is including a plugin header ../Plugins/Runtime/PS4/Morpheus/Source/Morpheus/Public/MorpheusFunctionLibrary.h ?
Have you added Morpheus to PublicIncludePathModuleNames or similar in your game module's build.cs?
Nativized blueprints are compiled into a separate module to your game's module, so if any of your game module's public headers include files from another module then that other module needs to be added as a public dependency of the game module.
Follow this question
Once you sign in you will be able to subscribe for any updates here