In my Game Instance, I have two variables, which are arrays.
I made a Save Game. It has two variables, which are arrays.
When I write to the Save Game, I set the Save Game’s arrays to my Game Instance’s arrays.
I begin my game, store some data in the Game Instance’s arrays, and save that data to the arrays in my Save Game. Whenever I print the data in the Save Game arrays, it is identical to the arrays in the Game Instance, thus this part of the process works as intended.
I then close my game and reopen it.
I load the data from the Save Game arrays into the Game Instance arrays. When I print the contents of my Save Game arrays, they are empty. There is no data… This is the problem. The data did not in fact save, for whatever reason.
Here is my save game code:
Do you know why my data is not saving?
I was thinking maybe it was because I was setting the Arrays, maybe you have to manually add each element to them. I tried this however, and had the same problem where it was not saving.
Thank you for any input :^)
