I ran into this today. For some reason, the template game is dumping on me when I try to use an array that I've defined with an index over (about) 2000.
Here's my code
(local
roomMap[2460]
)
-- then in the init of my room:
(for (= i 0) (< i 2460) (++i)
= roomMap[i] 1
)
If I change my loop to only iterate say 2000 times, it's fine. I tested this out in Studio and it seemed to work fine (no crashing) so it seems to only be impacting Companion.
EDIT: I can change the loop to go up to 2024 before the game starts corrupting. Starting at 2025, the top menu gets corrupted.