I have some player stats I persist including a custom pattern (array of arrays of integers). Data was saved ok but I noticed it was lost between games.
I started by separating profile data into two weak maps to determine faulty data. It turned out that simple stats started to persist between games, as for the custom pattern, it had correct number of elements but the elements themselves were empty. As for the diagnostic string ( same data as array but string)it was not saved at all.
All data was checked for fitness and passed. Pattern worked well during the same session and could be resaved and reprinted. So I think there is a bug outside the session and structures like
array { array{1,2}, array{1,2,3} }
are not currently supported and cannot be persisted between games.
After loading a new game, I receive 2 elements in the pattern array, but information about 1, 2 and 3 is completely lost.
I am not sure if it is Lego only or not. I only used
I try to save a 2d int array like this: array{ array{1,2,3}, array{4,5,6}, array{7} }
it will save for the current session you are in, but if you back out and go into a new game the inner arrays will be empty: array{ array{}, array{}, array{} }
Test in launch session: Array within array saves values 10,20,30 (2D array) and also saves the element 5 in a 1D array
Test in private version, the element 5 in the 1D array was saved. but the array{10,20,30} element did not save, it did not even load the default value array{2,3,4}, it just said it was empty (the score manager on the far left was 0, which is the length of this array.