NativiseAssets can't handle deprecated Blueprints

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.

Hello ,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-41223)

Make it a great day