First of all, I don't think this isuue is related to Igards mod.
Does this error happen when you load the game or after the game is loaded? I mean does the game load and then crash or does it crash while loading? I suspect it crashes *after* loading, maybe in the first game loop, but hey... because of this entry in the call stack:
From the callstack it seems that there was a ground invasion on some planet,
> DistantWorlds.Types.Habitat.ResolveInvasionBattles(TimeSpan timePassed, Galaxy galaxy)
the invader won
> DistantWorlds.Types.Empire.TakeOwnershipOfColony(Habitat colony, Empire newEmpire, Boolean destroyBases, Boolean destroyTroops)
and a pirate base got removed in the process. This seems to habe been the last installation of this pirate factions and it gets destroyed.
> DistantWorlds.Types.Galaxy.EliminatePirateFaction(Empire pirateFaction, Empire conqueror)
Within the "EliminatePirateFaction" method some object was removed
> DistantWorlds.Types.BuiltObject.CompleteTeardown(Galaxy galaxy, Boolean removeFromEmpire)
which one, I don't know. Maybe the base that just got destroyed?
> System.NullReferenceException: Object reference not set to an instance of an object.
means the game tried to remove an object that either wasn't there anymore (less likely, there would should a different call stack, but I am not familiar with this programming language) or the object (more likely) has a reference that doesn't exist anymore - but which one, I can only guess.
It could be a bug, that always happens when the destroyed planetary pirate base triggers the destruction of a pirate faction or maybe an inconsistency that occurred because the game was saved at a very bad time. (maybe the base was already removed, but the invasion was not resolved? I don't know.)
I heared there was a possibility to immediatly pause the game, but I don't know how to activate it, maybe try "Options" in the game menu. If it works, look for the planet that is invaded and try using the game editor to remove the pirate base there (it will get destroyed anyways) Or try to remove that pirate faction with the editor. If it doesn't resolve the issue, try deleting the entire colony per editor (before it gets conquered) It is a very long shot into the dark, but it might work.
< Message edited by Sirian -- 2/25/2014 8:47:53 AM >