Unity suddenly stops responding when I put the Ground tag as the GroundMask and press play.

Please edit your post to use code-tags as a wall of plain text is very difficult to understand.