Problems with the scenario editor

I was creating a scenario of the colonization of the Greeks in the Mediterranean, after the first day of work the game closes when I want to try the scenario.That is when I select “test” to try it, after the scenario loading screen the game closes itself what if I try to open it in a single player game. I thought it was a problem of something that I had added in the scenario but creating a random map in the same file the game keeps closing, while if I create a new scenario no. scenario file should not be deleted as it is corrupted.