Random Crashes??

Post bug reports and ask for support here.

Moderators: elliotg, Icemania

Post Reply
Overlord015
Posts: 55
Joined: Tue Jan 20, 2015 8:08 pm

Random Crashes??

Post by Overlord015 »

I've been engaging in some heavy modding recently, though I'm not quite sure whether its the mod that causes this crash:

Distant Worlds - Crash Dump - 1.9.5.12

2:10:24 PM Wednesday, September 23, 2015


System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Empire.InitiateRaceEvent(Race race, RaceEvent raceEvent)
at DistantWorlds.Types.Empire.DoRaceEvent(Race race)
at DistantWorlds.Types.Empire.ReviewEmpireEvents()
at DistantWorlds.Types.Empire.DoTasks()
at DistantWorlds.Main.C5o6bN55GkBkTp2DuaJ(Object )
at DistantWorlds.Main.n8Otelu22U(Object )


--- COMPLETE ---

I've seen it in vanilla at least once, but I haven't been able to reproduce it. I have started several new games (in the mod), the crash happens rather consistently a couple of decades in, never at the same exact date/year though. Been trying to troubleshoot it for a bit now, haven't been able to pinpoint any possible cause. Could someone provide me with any pointers as to where this crash may be coming from?
Bingeling
Posts: 5186
Joined: Thu Aug 12, 2010 11:42 am

RE: Random Crashes??

Post by Bingeling »

It seems very likely it is a mod issue.

Going by the function name (DoRaceEvent, then InitiateRaceEvent), I would look very closely at any events defines, especially if there are some race specific ones. Maybe one of them points at something (image, other item) that does not exist?

If you want to test, try to disable them all.
Post Reply

Return to “Tech Support”