I have some lots of units from mods and overhauls. Now I am adding more units to my mod, and since it is crossing the 30 units boundaries, while the other mods were active, the game would crash whenever I clicked "Custom Battle", so I deactivated all but mine and it finally appeared. So, is there a limit to how many units can be displayed in the Custom Battle screen? Or is there a limit in how many cards can be displayed in each specific category?

If so, where should I change the unit class? In land_units? - If the limit is in the unit class, then I could change them to "siege" or "shock cav" castes so it does not interfere with anything. Since all of them are either meelee/spear/commander units, they flood these classes, so where should I change it in the dbs so it doesn't affect the game? Would it be land_units - unit caste ? Or somewhere else?