I did not change texture names or dat files. I know about the great games made with this engine, and I want to move on from Raycasting game maker, which is very basic and limited.
Never had problems that serious. Your only option is, making a backup every time you finished working on the game. And post the log next time it happens.