All I'm doing is saving an objects position into an array when a button is pressed. However it does not seem to be doing it all. The array size is 16,15,1 (I've tried much larger too) so I don't see how it could be outside of it. Also, I know it has something to do with saving because the element doesn't even exist in the .json file.
When I load the value later it doesn't think anything is there and just sets it to 0, 0. I'va also had a text object set to display the 2 values every tick (and it shows 0, 0).
Also, setting the values into X = 15+ will do this but X = 0-14 will work successfully.
If anyone knows what is happening, a fix would be greatly appreciated.