I need to store character progress inside a custom SaveGame class, which includes the progress in a talent tree stored as an array of ints where the level of each talent is stored. I can load and save that progress perfectly in editor play, but when I stop and play it again the array resets to all 0.
I thought I may be missing something about SaveGame or that playing in editor didn’t save it correctly, but further tests with other types of variables didn’t give me any problems. How can I properly save this array in a SaveGame class?