My World map keeps going blank randomly, with all locations removed including my colony. I am running a number of mods and can't figure out which one is causing it. This error is repeated over and over in the error logs and I think it is the bug, but I can't figure out which mod is the one causing the problem.
[attachment deleted by admin due to age]
Code Select
NullReferenceException: Object reference not set to an instance of an object
at RimWorld.Planet.WorldLayer_WorldObjects.Regenerate () [0x00000] in <filename unknown>:0
at RimWorld.Planet.WorldLayer.Render () [0x00000] in <filename unknown>:0
at RimWorld.Planet.WorldRenderer.DrawWorldLayers () [0x00000] in <filename unknown>:0
at RimWorld.Planet.World.WorldUpdate () [0x00000] in <filename unknown>:0
at Verse.Game.Update () [0x00000] in <filename unknown>:0
at Verse.Root_Play.Update () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
NullReferenceException: Object reference not set to an instance of an object
at RimWorld.Planet.WorldObject.get_ExpandingIconPriority () [0x00000] in <filename unknown>:0
at RimWorld.Planet.ExpandableWorldObjectsUtility.<SortByExpandingIconPriority>m__302 (RimWorld.Planet.WorldObject x) [0x00000] in <filename unknown>:0
at Verse.GenCollection+<SortBy>c__AnonStorey536`3[RimWorld.Planet.WorldObject,System.Single,System.Int32].<>m__A01 (RimWorld.Planet.WorldObject a, RimWorld.Planet.WorldObject b) [0x00000] in <filename unknown>:0
at System.Array.qsort[WorldObject] (RimWorld.Planet.WorldObject[] array, Int32 low0, Int32 high0, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0
at System.Array.Sort[WorldObject] (RimWorld.Planet.WorldObject[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0
Rethrow as InvalidOperationException: Comparison threw an exception.
at System.Array.Sort[WorldObject] (RimWorld.Planet.WorldObject[] array, Int32 length, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0
at System.Collections.Generic.List`1[RimWorld.Planet.WorldObject].Sort (System.Comparison`1 comparison) [0x00000] in <filename unknown>:0
at Verse.GenCollection.SortBy[WorldObject,Single,Int32] (System.Collections.Generic.List`1 list, System.Func`2 selector, System.Func`2 thenBySelector) [0x00000] in <filename unknown>:0
at RimWorld.Planet.ExpandableWorldObjectsUtility.SortByExpandingIconPriority (System.Collections.Generic.List`1 worldObjects) [0x00000] in <filename unknown>:0
at RimWorld.Planet.ExpandableWorldObjectsUtility.ExpandableWorldObjectsOnGUI () [0x00000] in <filename unknown>:0
at RimWorld.WorldInterface.WorldInterfaceOnGUI () [0x00000] in <filename unknown>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <filename unknown>:0
at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0 [attachment deleted by admin due to age]