Comments (9)
A stacktrace and a minimal reproducible example would be nice.
from zombieland.
Here is the full stacktrace, I am working on getting a reproducible example at the moment.
System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GizmoGridDrawer+<>c.<.cctor>b__13_0 (Verse.Gizmo lhs, Verse.Gizmo rhs) [0x00007] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenCollection+<>c__DisplayClass33_01[T].<SortStable>b__0 (Verse.Pair
2[T1,T2] lhs, Verse.Pair2[T1,T2] rhs) [0x00014] in <95de19971c5d40878d8742747904cdcd>:0 at System.Collections.Generic.ArraySortHelper
1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, System.Comparison1[T] comparer) [0x00052] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.ArraySortHelper
1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison1[T] comparer) [0x00069] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.ArraySortHelper
1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison1[T] comparer) [0x00015] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.ArraySortHelper
1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison1[T] comparer) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper
1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison1[T] comparer) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.List
1[T].Sort (System.Comparison1[T] comparison) [0x00012] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Verse.GenCollection.SortStable[T] (System.Collections.Generic.IList
1[T] list, System.Func3[T1,T2,TResult] comparator) [0x0006e] in <95de19971c5d40878d8742747904cdcd>:0 at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable
1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func2[T,TResult] customActivatorFunc, System.Func
2[T,TResult] highlightFunc, System.Func2[T,TResult] lowlightFunc) [0x00026] in <95de19971c5d40878d8742747904cdcd>:0 at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable
1,Verse.Gizmo&) currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
from zombieland.
Yep got it reproduced on another machine. Modlist order is:
Harmony
Core
Royalty
Ideology
Biotech
Vanilla Expanded Framework
VFE Mechanoids
Zombieland
(testing if this image works)
Different computer stacktrace:
System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GizmoGridDrawer+<>c.<.cctor>b__13_0 (Verse.Gizmo lhs, Verse.Gizmo rhs) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.GenCollection+<>c__DisplayClass33_01[T].<SortStable>b__0 (Verse.Pair
2[T1,T2] lhs, Verse.Pair2[T1,T2] rhs) [0x00014] in <95de19971c5d40878d8742747904cdcd>:0 at System.Collections.Generic.ArraySortHelper
1[T].InsertionSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Comparison1[T] comparer) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.ArraySortHelper
1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison1[T] comparer) [0x0004b] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.ArraySortHelper
1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison1[T] comparer) [0x00015] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.ArraySortHelper
1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison1[T] comparer) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper
1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison1[T] comparer) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.List
1[T].Sort (System.Comparison1[T] comparison) [0x00012] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Verse.GenCollection.SortStable[T] (System.Collections.Generic.IList
1[T] list, System.Func3[T1,T2,TResult] comparator) [0x0006e] in <95de19971c5d40878d8742747904cdcd>:0 at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable
1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func2[T,TResult] customActivatorFunc, System.Func
2[T,TResult] highlightFunc, System.Func2[T,TResult] lowlightFunc) [0x00026] in <95de19971c5d40878d8742747904cdcd>:0 at RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor (System.Collections.Generic.IEnumerable
1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x0017a] in <95de19971c5d40878d8742747904cdcd>:0 currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor (System.Collections.Generic.IEnumerable`1,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
RimWorld.UIRoot_Play:UIRootOnGUI ()
Verse.Root:OnGUI ()
from zombieland.
Sorry but there is no mod called "VFE Mechanoids" and I am not guessing which of the 20 mods that start with "VFE Mechanoids..." is the one you are usiing. Can you upload a minimal save game so I can use RimPy to sub to the right mods?
from zombieland.
I don't see how the stacktrace is related to Zombieland. You said that removing Zombieland "fixes" this but it could equally well be another side effect from starting Rimworld.
from zombieland.
Yeah sure. I just naturally abbreviate Vanilla Factions Expanded: Mechanoids to VFEM.
(testing upload)
I relate the stacktrace to the gizmos that Zombieland adds to colonists, as when Zombieland is not installed, the mechanoids work fine and can be used as intended.
from zombieland.
Ah, the save game helped. I have fixed the problem (you shall not return null for gizmos. It usually works until the game wants to sort all gizmos at which point you will get a NRE. I am now avoiding to yield a null gizmo. Fixed in the next release (4.2.1)
from zombieland.
Yay! Thank you for fixing this, considering I am probably the only person on the planet who has ran into this issue ever. I should really pick different hobbies that do not involve niche modding communities (cough cough Minecraft cough cough).
Any hint to when this update should release?
Again thank you for this.
from zombieland.
Already released
from zombieland.
Related Issues (20)
- Hi, no Z spawn HOT 1
- Problem with the gui due to incompatible mods HOT 2
- Zombieland creates insane amount of errors in player and player-prev documents HOT 4
- Tanky zombie does insane amount of dmg HOT 1
- Issue: Uninfected dead pawns become strong zombies anyway HOT 12
- Problems with 'What the hack'
- Humanlikes don't die?
- Support RimWorld version 1.4 HOT 2
- Improve extraction and double-tap with drafted pawns HOT 2
- Albino zombies being annoying as usual... HOT 2
- Zombieland Unable to use HOT 2
- Mod conflict with SOS2 & Zombieland causing CTD when beginning a save with "Derelict" scenario, or if you load a save that you launched a ship into space with. HOT 3
- NullReferenceException when putting babies somewhere safe. HOT 2
- Zombies Missing pawn textures HOT 1
- Please make it auto un-check the word "zombie" in every table in "Production" tab HOT 1
- "Zombies rage when the group gets too large" is not working
- An unintended way to erase contamination from the map HOT 1
- Error appears when I select an item that's being hauled by pawn (with contamination enabled) HOT 1
- Lots of errors appear when you try to open a zombie's health tab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zombieland.