I have a view model which contains a list property. In the view models artboard I have the list property bound to an artboard list. In the artboards state machine I have a oneshot animation in which the data bound artboard list has its opacity set to 0. During runtime in unity when clearing existing values and adding new values to the list property the opacity of the objects within in the artboard list overrides the artboard lists opacity, causing the newly added artboards to be visible. All other parts of the animation in the state remain as expected. The opacity corrects itself and remains as expected after the state machine moves to a different state.
I attempted to move the opacity animation to the parent of the data bound artboard list instead. The same issue occurred. I also attempted to retrigger the oneshot animation immediately after setting the new values in the list property. I think the animation was too close to the property update and the artboards still remained visible.
I was able to get around this issue by adding additional keys in the animations which set the parents display to Hide and Show in the different states in addition to the opacity animations.