I know NativiseAssets is coming out of experimental in 4.15, so Epic may well have already caught this, but figured I’d report it anyway as it’s super reproducible.
If you have any Blueprints marked as deprecated, NativiseAssets will fail:
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: E:/Unreal Projects/NativiseTest/Intermediate/WindowsNoEditor/NativizedAssets/Source/NativizedAssets/Public/ThirdPersonCharacter2__pf1682475099.h(11) : Error: Class name ‘ADEPRECATED_ThirdPersonCharacter2_C__pf1682475099’ is invalid, should be identified as ‘AThirdPersonCharacter2_C__pf1682475099’
Steps to repro:
- Create a new project based on ThirdPersonCharacter
- Enabled “Nativise Assets” in Project Settings
- Package the project; it will succeed
- Duplicate the ThirdPersonCharacter blueprint
- Mark the duplicate blueprint as Deprecated in its Class Settings
- Package the project; it will fail.