Why cant I Set/Update a MAP variable in Construction script?

The variable won’t update in the right pannel, that is normal. The value in the right panel is a default value.

Here is a test I made. It creates a map (enum/name) from an enum, then prints the map keys and values :

As you can see, there is no default value on the right pannel, but the print proves everything has been added (I have a bug where prints string doesn’t print to screen but it still prints to log. Normally it should be printed on screen as well) :

Use print instead of watch value in your function to check what is the row name asked to the data table. Don’t forget, prints in CS appears only when you compile, when you modify the actor on the scene, or on begin play.
If you have no name on the print, then you have to check what happens before (for example the structure that the name come from). If it prints the correct name, check what happens after (for example is the exact name exist in the data table?)

2 Likes