Edit a structure causes data loss

Thank you for your answer.

I’ve tested without the component. I put “MyVar” in “BP_MyActor”.
When I add or remove a field in the structure, I recompile the actor but this time the data in the instances (details panel in the editor) are not lost !
I will rework/redesign my code to do like this.
I will dig into the data asset too.