[A16] Raid Fails to Spawn, Citing Out of Bounds

Started by maarx1337, April 02, 2017, 10:29:02 PM

Previous topic - Next topic

maarx1337

Got a red-letter notification for a Raid, but the enemies entirely failed to spawn.

Simultaneously, got these errors in console:

Tried to get valid region out of bounds at (-1000, -1000, -1000)
Tried to spawn Matthias out of bounds at (-1000, -1000, -1000).
Could not find siege spot from (-1000, -1000, -1000), using (-1000, -1000, -1000)

Of note, the red-letter notification did NOT indicate "Siege", it was just normal "Raid" (they will prepare for a while, then attack).

Sorry, don't know how to replicate this one, but figured I'd report it anyway.

maarx1337

#1
Couple minutes later I got spammed repeatedly with ...

Pirates from [Faction] are beginning their assault!

... and the below error got spammed repeatedly into console.

Once it started to happen, it seems there is no way to fix it. Even re-Save / re-Load continues to spam the error. I had to roll back to an earlier save before the raid failed to spawn.

System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.AI.Group.TransitionAction_WakeAll.DoAction (Verse.AI.Group.Transition trans) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Transition.Execute (Verse.AI.Group.Lord lord) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Transition.CheckSignal (Verse.AI.Group.Lord lord, TriggerSignal signal) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Lord.CheckTransitionOnSignal (TriggerSignal signal) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Lord.LordTick () [0x00000] in <filename unknown>:0
  at Verse.AI.Group.LordManager.LordManagerTick () [0x00000] in <filename unknown>:0
  at Verse.Map.MapPostTick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.Map:MapPostTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

maarx1337

It happened again on my next raid, too, actually.

Six errors into the log:

Tried to get valid region out of bounds at (-1000, -1000, -1000)
Verse.Log:Error(String)
Verse.RegionGrid:GetValidRegionAt(IntVec3)
Verse.GridsUtility:GetRegion(IntVec3, Map)
Verse.CellFinder:TryFindRandomReachableCellNear(IntVec3, Map, Single, TraverseParms, Predicate`1, Predicate`1, IntVec3&, Int32)
Verse.CellFinder:RandomClosewalkCellNear(IntVec3, Map, Int32)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Tried to spawn Raygun out of bounds at (-1000, -1000, -1000).
Verse.Log:Error(String)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Tried to get valid region out of bounds at (-1000, -1000, -1000)
Verse.Log:Error(String)
Verse.RegionGrid:GetValidRegionAt(IntVec3)
Verse.GridsUtility:GetRegion(IntVec3, Map)
Verse.CellFinder:TryFindRandomReachableCellNear(IntVec3, Map, Single, TraverseParms, Predicate`1, Predicate`1, IntVec3&, Int32)
Verse.CellFinder:RandomClosewalkCellNear(IntVec3, Map, Int32)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Tried to spawn Frenchy out of bounds at (-1000, -1000, -1000).
Verse.Log:Error(String)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Tried to get valid region out of bounds at (-1000, -1000, -1000)
Verse.Log:Error(String)
Verse.RegionGrid:GetValidRegionAt(IntVec3)
Verse.GridsUtility:GetRegion(IntVec3, Map)
Verse.CellFinder:TryFindRandomReachableCellNear(IntVec3, Map, Single, TraverseParms, Predicate`1, Predicate`1, IntVec3&, Int32)
Verse.CellFinder:RandomClosewalkCellNear(IntVec3, Map, Int32)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Tried to spawn Bashkire out of bounds at (-1000, -1000, -1000).
Verse.Log:Error(String)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

maarx1337

Since this one wasn't "prepare for a while, then attack" I figured I would wait it out to see what happened. After a while, I got:

Raiders from [Faction] are giving up and are leaving.

No error spam, though, which was nice.

Illusion Distort

It seems the raid is trying to spawn way out of the map... Can i have the full changelog please?
Might contain important information about how this came to be.

maarx1337

Happened again.

Output_log.txt:

https://gist.github.com/HugsLibRecordKeeper/dae78fab227314c9d321a2b31569865c

Two errors in log:

Tried to get valid region out of bounds at (-1000, -1000, -1000)
Verse.Log:Error(String)
Verse.RegionGrid:GetValidRegionAt(IntVec3)
Verse.GridsUtility:GetRegion(IntVec3, Map)
Verse.CellFinder:TryFindRandomReachableCellNear(IntVec3, Map, Single, TraverseParms, Predicate`1, Predicate`1, IntVec3&, Int32)
Verse.CellFinder:RandomClosewalkCellNear(IntVec3, Map, Int32)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Tried to spawn Jesse out of bounds at (-1000, -1000, -1000).
Verse.Log:Error(String)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
RimWorld.IncidentWorker_Raid:TryExecute(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

ison

With that many mods it's possible that it's caused by one of them. We'll see if anyone else reports similar issues in A17. Thanks for reporting anyway.