XD seems to be randomly duplicating the contents of my components when there is another (different) component nested inside of it. Possibly only when the container component has multiple states? Apologies for the long and probably confusing video. Here is what's happening:
I am viewing the master version of a component that contains another component inside of it. I have the master version of the nested component showing in the pasteboard here too.
I change the state of the container component. All that is different in this state was that a "Default" tag shows. But you can see the contents of the nested component have been duplicated.
I reset the nested component back to the master state.
I change the state of the container component back to the state it was in when I first started. The contents of the nested component have somehow duplicated themselves to an even more ridiculous degree. Additionally, for some reason, the nested component thinks that it has not been modified from the master state, so I don't get the option to revert it. I delete the duplicated contents, which then shows the component as having been modified, and then I revert it.
I go back and forth again between states of the container component. Each time, the contents of the nested component are duplicated a different number of times.
Has anyone else encountered this issue? It seems like it may be a caching thing. Sometimes the contents duplicated are an "old" version that doesn't reflect recent changes to the component.
I tried to create a simplified version of your file keeping the component/layer structure same and couldn't see the same issue, an update would be nice (I'm sure you resolved the issue but wanted to check 🙂