But the map is always empty (at runtime, but at design time in the child class, it shows the same values as are setup in the parent class). Is there any special thing about the map I am missing? Should it’s keys/values carry over to child classes?
I suspect it is something funky about inheritance with maps because if I copy and paste the same values from the parent class and override in the child, then it works. Its like a map cannot find what was assigned in a parent class, then?
I do not know if I am interpreting this correctly, but I will take a shot.
In my case, I have a parent class that has the variable “Health”. The child class does not have this “Health” variable, it inherits it from the parent class. I can set and read the value from either blueprint and it will be the same as setting or reading it from the other. The variable does not appear under variables in the child blueprint, I must right-click and search to access it. If the map is in the child class, right-clicking it and selecting move to parent class should solve the issue.
In theory, if the map is only in the parent blueprint, the child should have the values set either at runtime or by default on the parent. Class settings should have the parent blueprint listed, that is worth checking that the child is parented properly.
If everything is as it should be, you could work around this with a blueprint interface to send a message with the values of the map every time they are altered and have the child keep a “copy” of the map.