Save & Load Skill Tree Data That's Inside a Widget

Hey, so I’ve been trying to save and load my skill tree system I’m making for quite a while now and for some reason I just cant get it right. I would appreciate any help I can get.

I have a skill tree window, which contains the skill tree widgets, and within the skill trees are the skill tree slots, which contain structs to hold their data.

Every time the slot is constructed I add it to an array in my skill tree component if its not already added.
And from there I tried to save all the slots in an array of slots and then load them then set them, but didn’t work. Then I tried to set the slot details structs inside the slots array and that ended up not working as well.
From there I was just going through trial and error for a few days and still nothing. I’m not sure what I’m doing wrong, probably something simple that I’m not seeing lol.

Just to clear things up, I tested the save and load with an int variable to make sure saving and loading works.
I’m just struggling to save the struct data from within a widget and load them.