# Nativization error: Unknown property type MapPorperty

**URL:** <https://forums.unrealengine.com/t/nativization-error-unknown-property-type-mapporperty/453242>\
**Category:** Blueprint\
**Tags:** nativization, unreal-engine, CPP, Blueprint, question\
**Created:** [August 2, 2019, 2:34pm UTC](https://forums.unrealengine.com/t/nativization-error-unknown-property-type-mapporperty/453242 "2019-08-02T14:34:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzernesto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dzernesto](https://forums.unrealengine.com/u/dzernesto)\
**Post date:** [August 2, 2019, 2:34pm UTC](https://forums.unrealengine.com/t/nativization-error-unknown-property-type-mapporperty/453242/1 "2019-08-02T14:34:07Z")

</div>

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](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/1/021fe192aeca35c8aa273931c2b56ca52360641d.png "imgur.com") ](https://imgur.com/WHwe10i)

[![Imgur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/e/12e511578474c61b3b0d161e1ffa64ab9f600008.png "imgur.com") ](https://imgur.com/CvZ2Isz)

Does someone have any idea why this is happening ?

---

<div class="post-metadata">

**Author:** ![Inverted\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Inverted\_Games](https://forums.unrealengine.com/u/Inverted_Games)\
**Post date:** [September 8, 2019, 5:21am UTC](https://forums.unrealengine.com/t/nativization-error-unknown-property-type-mapporperty/453242/2 "2019-09-08T05:21:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dzernesto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dzernesto](https://forums.unrealengine.com/u/dzernesto)\
**Post date:** [October 16, 2019, 3:17pm UTC](https://forums.unrealengine.com/t/nativization-error-unknown-property-type-mapporperty/453242/3 "2019-10-16T15:17:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Inverted\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Inverted\_Games](https://forums.unrealengine.com/u/Inverted_Games)\
**Post date:** [October 16, 2019, 9:19pm UTC](https://forums.unrealengine.com/t/nativization-error-unknown-property-type-mapporperty/453242/4 "2019-10-16T21:19:24Z")

</div>

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](https://drive.google.com/file/d/1YcH_9PvVuWQZTAAxIpw6qfSQz7A4Wy4U/view?usp=sharing)
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](https://drive.google.com/file/d/1r1z4DQJv9l4G7NO2J12ZQ-WpY91orCyb/view?usp=sharing). 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.

---

<div class="post-metadata">

**Author:** ![dzernesto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dzernesto](https://forums.unrealengine.com/u/dzernesto)\
**Post date:** [October 17, 2019, 5:33pm UTC](https://forums.unrealengine.com/t/nativization-error-unknown-property-type-mapporperty/453242/5 "2019-10-17T17:33:24Z")

</div>

Hey, thanks a lot for replying back.

About the first “rule”. Is [this](https://drive.google.com/file/d/1XMJ37uhTlTtJpShz_q7rYf841YmW1xQm/view?usp=sharing) what you are talking about ? If yes, is there a workaround ?
