UUserDefinedStruct assets are automatically nativized

UUserDefinedStruct assets are automatically nativized even when blueprint nativization option is Exclusive, and no assets are specified for Blueprint Nativization.

The following is how to reproduce this bug(or is it intended?)

  1. Get a Clean UE4.18 .

  2. Make a project from First Person Template(C++).

  3. Make a UUserDefinedStruct asset and Name it NewUserDefinedStruct.

  4. Edit the project settings so that nativization option is Exclusive and make sure no assets are specified for Blueprint Nativization.

  5. Make a WindowsNoEditor Package.

  6. Check the following directory and find the header and source for the UUSERDefinedStruct asset.

    ($ProjectDir)\Intermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public
    ($ProjectDir)\Intermediate\ntermediate\Plugins\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private
    (For me they were NewUserDefinedStruct__pf360527399.h/cpp)

Hey SmurfSkywalker-

I was able to reproduce the behavior you mentioned and have logged a report for it here: Unreal Engine Issues and Bug Tracker (UE-52556) . I noticed that unlike other blueprints, the Structure blueprint does not have a “nativize” checkbox, so nativizing the blueprint by default may be intended behavior.

Cheers

Doug E

Thank you for you to add the issue to the issue tracker!