Project crashes after setting on overlap begin and end

From the brief description my guess is that it has to do with how you are using the collision detection. Specifically, some array is empty and is being accessed when there is nothing in it. Without your overlap code I cannot say much more.