So. When the game creates a new civ, it is indeed deletes all units of this color. But it does that not in a proper way, without using "delete unit" function. Instead, the game simply changes all units in the list to -1. This is bad, because on the planet map, there are still bits "unit is here"...