Unexplained Crash

I have created a new mod to introduce a custom nation. For some reason, the game continuously crashes when I begin to load into a new mission. I can set up the nation fine, but then hitting play crashes the game after a few seconds. Nothing in the error log and the debug log is useless at best.