Apparently if you have secret heir active and no pawns on the board when the game starts, the game will softlock, trying to add an heir that doesnt exist.