I have found the error, using the cartographer ants, the game doesn't run too well, cartographers have this buff: while less fog, more velocity, untill they reach 200%. "According to the description", in the infinite mode it doesn't affect and they can reach velocitys that the game can't quite manage. That's why the saving error always appeared in my games, because while you open to see the progress, it crashed because of the velocity of the ants and the math that it had to do.
The following video shows the velocity that some ants can reach in infinite mode. A good solution would be changing the last buff for other more interesting thing, I'm not a programmer or any of that, but the problem is easy to understand.