Map variable with value type 'Object' does not work for Blueprint instances
There is a rather significant bug using Map variables with either value type 'Object' or value type of structure which includes another variable of type 'Object'. Changing them in instances of the actor leaves them at default values in Simulate and PIE. But follow the steps to reproduce explains it better:
Bigger problem with structures: Let's have a Name to Struct map variable with default as follows:
In the Blueprint instance changing the String and Integer to other values gets ignored in Simulate and PIE. Clearing out the Object to 'None' let the new String and Integer values persist to Simulate and PIE. As long as there is an Object assigned (even the default value), ALL values of the struct are set back to Blueprint default in Simulate and PIE.
Workaround for now: I have noticed that the bug does not happen if you add or remove an element in the Blueprint instance (the objects of the remaining elements are changed correctly in Simulate and PIE). If you have e.g. 3 default key-values and just rename one of them in the level instance, the bug persists, though. Adding or removing is mandatory.
We are using a new bug submission form. Please navigate to the link below for more information.
Make it a great day
answered Jan 09 '18 at 09:43 PM
Rudy Q ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here