Nativization error: Unknown property type MapPorperty

Hi, when trying to nativize some of my BPs, this error appears.

ExternalExecution.PrintProcessOutputAsync: D:/ProjectRespawn_4.22/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BaseCharacter_BP__pf3204041986.h(437) : LogWindows: Error: === Critical error: ===
ExternalExecution.PrintProcessOutputAsync: D:/ProjectRespawn_4.22/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BaseCharacter_BP__pf3204041986.h(437) : LogWindows: Error:
ExternalExecution.PrintProcessOutputAsync: D:/ProjectRespawn_4.22/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BaseCharacter_BP__pf3204041986.h(437) : LogWindows: Error: Fatal error: [File:d:\build++ue4\sync\engine\source\programs\unrealheadertool\private\ParserHelper.h] [Line: 433]
ExternalExecution.PrintProcessOutputAsync: D:/ProjectRespawn_4.22/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BaseCharacter_BP__pf3204041986.h(437) : LogWindows: Error: Unknown property type ‘MapProperty /Script/NativizedAssets.BaseCharacter_BP_C__pf3204041986:bpf__GetPlayersEffects__pf.bpp__AllEffects__pf’
ExternalExecution.PrintProcessOutputAsync: D:/ProjectRespawn_4.22/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BaseCharacter_BP__pf3204041986.h(437) : LogWindows: Error:
ExternalExecution.PrintProcessOutputAsync: D:/ProjectRespawn_4.22/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BaseCharacter_BP__pf3204041986.h(437) : LogWindows: Error:
ExternalExecution.PrintProcessOutputAsync: D:/ProjectRespawn_4.22/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/BaseCharacter_BP__pf3204041986.h(437) : LogWindows: Error:
UnrealBuildTool.Main: CompilationResultException: Error: CrashOrAssert

I do have a interface with a function called GetPlayerEffects set like this:

Imgur

Imgur

Does someone have any idea why this is happening ?

I’ve just encountered an almost identical problem. did you ever figure out a solution?

No, we are packaging with blueprints. Have you found a solution? looks like there are some issues with structs and interfaces when using the Nativization feature.

Nope. it’s an engine bug regarding certain aspects of maps and even sets. I’ll share with you a section I have written in my “nativization rulebook”, I needed to write one of these for myself and my team because nativization is essentially playing UE4 on hard mode.

  1. Using map pins on an interface event/function is a no-go. Unreal has a bug in its own code that makes this fail. That is a recurring theme it would seem. None of these issues were caused by us.
  2. Using map pins on “create widget” nodes also seems to break the builds. Possibly for the same reason as the interface. There are ways of working around this issue, however. Rather than making the map an expose on spawn variable, use the widget reference output of the create widget node to set the map that way, Like this
  3. When using enums as the key to your map, make sure you are putting direct references to an enum as the input for a “find” or “add” node. This one kinda confuses me and I don’t fully understand it, but in one of my blueprints, I had 2 macros that were literally just this. I made them functions to condense the nodes a bit. That’s it. But that enum pin is seen as a “indirect cast” or something, and that makes the build fail. just make sure you enum is plugged directly into the “add” or “find” node and you should be fine.

These might not be all of the problems with maps, but they’re the ones I’ve come across so far. My game builds currently because I am following these rules, but I generally avoid using maps now because of the strife they’ve caused. I lost 2 days trying to fix these issues.

Hey, thanks a lot for replying back.

About the first “rule”. Is this what you are talking about ? If yes, is there a workaround ?