Hi. Am new to posting this forum, although I have been lurking in it since Civ3.
Anyway, I would like to highlight that I have indeed experienced this particular bug myself, not once but twice.
But no, I don't have a save file unfortunately. Bad timing when they happened, and it didn't occur to me to make a save.
However, I believe I know how the bug is triggered.
The first time was when I was playing as Japan, and Peter gifted me a bunch of units when his spun off his overseas holdings to Stalin. This was despite the fact that Peter was Annoyed with me, although we do have an Open Borders agreement. At first, I just thought it was a generous gesture on Peter's part to improve relations. In hindsight, does the AI ever bother to do that?
Another time was when I was playing as the English. Only I and Mansa Musa had a significant presence on the 'New World' continent, but because he arrived later he was essentially just filling in the gaps between my earlier colonies. He later spun those holdings as a new Sumerian civilization and I ended up with a bunch of free units too. This time around, I had really good relations with the Ethopians, but there still was no good reason for them to gift my anything.
What these 2 events had in common:
- Both were in Terra maps with more than 1 continent (else civ splits won't happen).
- Both happened just when an AI civ spun off their overseas holdings to a new vassal state.
- I had Open Borders agreement with both the civs, and they actually had units wandering around within my borders on the 'New World' when the split occured.
- I was 'gifted' ALL units within my borders on the 'New World'.
- Not so sure about the 'Old World', but I had none of their units within my mainland borders when it happened.
I'm guessing that the underlying code which handles the splits does not actually bother to check if the unit is actually within the intended vassal's borders or not. It just indiscriminately gifts all units overseas to whichever nation whose borders they happen to be in.
The conditions which lead to this bug aren't hard to duplicate. Its just a tedious process simply because one needs to play until a fairly late stage to see it.
What would be interesting to find out is whether or not your own units which are parked in a foreign border gets 'gifted' to an AI civ also when you spin off your own vassal state.
I do have a save at that stage though. Think I'll go try it out when I get back from work.