Launcher crashes but debugging code doesn't?

That’s a fine story but it doesn’t explain how I could get an array index 25 out of bounds error when I made the array 50x50 again.

I am already planning to depreciate my current data structures and am considering swapping to constant size arrays, but I don’t expand or shrink the array often anyhow, so the flexibility of the dynamic array is nice while I am mostly avoiding the slowdown of allocating new memory.