Alright, so I've got this mod that I've been working on for a long time. Like, since 34.11. Now, I've been trying to keep it updated with each new patch and for the most part it seems to have been working pretty well. I rigorously test everything in arena mode to check for errors, and the error long is still currently blank. Which makes this all the more strange.
Now, admittedly, the last time I'd actually genned a world was in... 40.14? .15? Possibly .16? Either way, the point is that, admittedly, I haven't really World Gen/Adventure Mode tested it for the last few versions. And, admittedly, my porting it from 40.18 to 40.19 was maybe a bit rushed - I mostly just added geldable tags to the appropriate places (testicles of male humanoids (I gave humanoids anatomically correct bodies), lowerbody to all other male creatures) and called it a day, but still...
Anyway, this is getting a bit long-winded. Basically, the mod seems to work fine (in Adventure Mode at least - I haven't tested Fortress Mode, though I doubt that wouldn't just end in a crash). EXCEPT for when I either try to enter a keep/mead hall, or try to start as a locally important person who would start in a keep/mead hall. When doing either of those things, the game crashes.
For that matter, it almost seems like it's not really properly loading the land-holder positions, since it seems like, most of the time, when I select a locally-important person, it's either of the followers of some lesser non-landholding position (such as the deputy of a bailiff), or it just still says you'll be playing as a peasant, as it would if the civ had no suitable positions. Only sometimes do you get the option of starting in the retinue of a land-holding noble (such as the armsman of a duke/count/viscount/lord knight), and when you choose that option, the game crashes.
I don't think the raws for positions have changed radically since I last tested it in adventure mode (40.14/15/possibly 16), when everything worked perfectly fine. At least, if they had, the changelog/file changes doesn't mention anything. So, what on Earth could be causing this? I really don't want to have to scrap this mod, I've been working pretty hard on it for a while.