This looks fine. As long as you don’t have code elsewhere that’s wiping the save game, when you read it back in, the struct data should have been saved.
The struct can be as complicated as you like, but what I’m saying is, get it working for a really simple example first ( in a new project maybe ), then come back and fix this.