Could it be that a fan-made map adds a hero? It's strange that it didn't happen under the same conditions before, and now it does... If it's not a map with a hero or heroes from a mod that shouldn't be there according to the rules, then I don't know.
Added 5 minutes later
What mods are you using?
In the mod itself: I disabled creature spawning (I didn't enable anything else).
In the graphics settings: only the classic mouse cursor, the contrasting turn indicator, and improved environment models were enabled (I tried without them - it still crashes...).
In the launch parameters: patch for the map editor, autopatcher for new maps.
There are no other modifications; I haven't installed anything on top of that.