Blueprint Map, Set not working

Impossible to add more than one parameter into a Blueprint Map var, add one with a integer + a key and you can’t add a second one cause the first one is 0… and the same with Set.

Hello Hevedy,

So far I haven’t had issues adding additional elements to a Map. Would you mind providing a screenshot of your Blueprint Graph so I can see your setup?

Much appreciated.

I think you have to add the var then set as map, set the first one as integer and the second one as key, save and close the BP, then open the BP, and start to add in the visual panel elements or try too at the first without close too, to me give problems…

I appreciate the clarification,

Thank you for submitting this post. I have reproduced this issue and logged a report for it here: Unreal Engine Issues and Bug Tracker (UE-41910)

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Note that a simple workaround is to edit the default values and then you can add elements to the array.


4.24.3 got this too.

This is still an issue in unreal 4.26.2
I know this seems like a small thing but it is pretty annoying that I have to add a dummy entry to my ENUM just so I do not have problems adding new entries to the TMap where I use an ENUM as the key.