Nice. You might post this 'how-to' in a new thread, as it runs the risk of getting lost on the bug reports thread.
G
Ok, I will. I would just like to make sure I got it right first, because the more I look into it, the more confused I am. I will find some time to play-test a bit over the weekend and see what I find out.
I realised only now that when you renamed the units in CBP you only updated the column called 'Text'. I suppose units are not referenced by 'Text', but by 'Type' (be it from within CBP or the Ethnic Units mod), am I right? So updating the 'Text' should be just a "cosmetic" thing and should not have any effect on functionality or referencing the units. So it seems that my assumption that the Ethnic Units mod was referencing a unit which you renamed and crashed because it could not find it under the original name in the database, was wrong.
It could actualy be the other way around = CBP trying to update some stats (such as renaming the 'Text') of the original unit, while there is only the national variant of the unit. If this is the case, then deleting the unit renaming part from CBP would probably only postpone the crash as there will be other parts of CBP referencing the units (for promotions, stats updates, etc.).
The funny thing is I could play with all the units until the crash in Modern Era. And when I deleted the renaming part from CBP and ran a test game starting in Modern Era for several turns, it did not crash (it was crashing on turn 1 or 2 when the renaming part was in). I would expect the game to crash earlier - actualy to crash right at the start. I was also using the Ethnic Units with CEP before, which was updating many units and I could play until Future era without any problem.
I will have a further look into it and try to figure it out. Even if I do not figure out the actual reason for the crash, I can still post a how-to, if I am able to finish a game without a crash
I understand you are taking a week off from modding, so Merry Christmas and enjoy the holiday!