When adding new elements to a Map in blueprints it will return the error "Cannot add a new key to the map while a key with the default value exists". This is because it currently won't increment the default value when adding a new key.
The easy workaround is to just edit the default key and then it will be able to add another element. It would be more intuitive if it automatically incremented the default key value though.
RESULT
You get an error message "Cannot add a new key to the map while a key with the default value exists"
EXPECTED
A new element gets added that has a key that is incremented from the default value. e.g. If the default INT is 0 when you add another element the next key is automatically set to 1 then 2 etc...
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How to achieve HLSL Multiple Render Target in Material blueprints?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
How does UMG set overlapping layouts?
How can i modify the param name in EQS node
Head over to the existing Questions & Answers thread and let us know what's up.
88 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.15, 4.20 |
Created | Feb 13, 2017 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 7, 2023 |