DarkLotus/mooege — comment on commit beda3575ee5b806817ff34aba93fd677005d6968
File: src/Mooege/Common/MPQ/FileFormats/Scene.cs line 107
By MasterCassim:

Yeah; and if it's too small you already allocated memory for a 128x128 grid. You should check before:

else if ( SquaresCountX < 128 && SquaresCountY < 128)
{
WalkGrid = new byte[128, 128]; //96*96
}
else
{
...
}