Wow, I am having the same problem and it is really strange that don’t have a good and clean way to do this. I am working in a dungeon rooms with the position indexes access. The solution of a Array of structs and the struct with array do the job, but I am having issues with updating data in the structs, it seems that I have to build all struct again and then I can set the struct in the root Array.
Other solution that I am thinking is use a Map with the key the union of the two index. Something like this:
key: 0-0 value: “A”
key: 0-1 value: “B”
.
.
key: 1-0 value: “A”
Is this a cool solution? Not really.