Why does the engine crash when adding to an array ?

Should be good.