MakeMap / MakeSet nodes do not exist

When I create a map variable and use a Set node to set its value without wiring an input to it, I get the following error message:

Error Default value ‘’ for Map
Variable is invalid: ‘Map inputs (like
‘Map Variable’) must have an input
wired into them (try connecting a
MakeMap node
).’

However, unlike MakeArray, there is no such node. There’s no MakeSet for set variables either.

You must manually add variable to this class, then go to its properties, and change its type to map or set with this button.

https://docs.unrealengine.com/latest/images/Engine/Blueprints/UserGuide/Arrays/array_selected.jpg

Still an issue as far as I can tell in 4.17. Anyone have an update on this?

this bug still exists in 5.3
solution: change key type to another, compile, then change back.

1 Like