Would someone be so kind as to translate this error for me, please?

Started by someonesneaky, May 13, 2017, 02:13:24 AM

Previous topic - Next topic

someonesneaky

I'm not too well-versed in codespeak, but it *seems* like the game is trying to trigger some sort of incident, but is unable to do so. If I'm right, hopefully one of you nice folks will be able to point me toward what might be breaking it. I'm in a heavily modded game, but the error is fairly new; I'd recently added a couple of new mods, yet though I've taken them back out, the error is still hitting.

Thanks in advance!

System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.IncidentWorker_MakeMapCondition.CanFireNowSub (IIncidentTarget target) [0x00000] in <filename unknown>:0
  at RimWorld.IncidentWorker.CanFireNow (IIncidentTarget target) [0x00000] in <filename unknown>:0
  at RimWorld.StorytellerComp_RandomMain+<MakeIntervalIncidents>c__IteratorA4.<>m__1FB (RimWorld.IncidentDef d) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[RimWorld.IncidentDef].MoveNext () [0x00000] in <filename unknown>:0
  at Verse.GenCollection.TryRandomElementByWeight[IncidentDef] (IEnumerable`1 source, System.Func`2 weightSelector, RimWorld.IncidentDef& result) [0x00000] in <filename unknown>:0
  at RimWorld.StorytellerComp_RandomMain+<MakeIntervalIncidents>c__IteratorA4.MoveNext () [0x00000] in <filename unknown>:0
  at RimWorld.Storyteller+<MakeIncidentsForInterval>c__Iterator9D.MoveNext () [0x00000] in <filename unknown>:0
  at RimWorld.Storyteller.StorytellerTick () [0x00000] in <filename unknown>:0
  at Verse.TickManager.DoSingleTick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Calahan

It would be more helpful for you to post your full log file as an attachment rather than just an extract of it. As the actual log file contains a lot of info that might be relevant. (you might need to zip it if it's too large to attach).

You also said you've added some mods recently. Were these added to an existing game? As if so that usually a case of asking for problems (or so I understand it), and adding or removing mods mid game increases the chance of errors appearing at some point.