Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem








@ Героин Thanks for reporting on the server. I’ll be looking into remedies for this as well
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 1722060]
at SimpleWarrants.WarrantsManager.HandleAcceptedWarrants () [0x00000] in <72e586c22a76470c9b4c48f775c0981a>:0
at SimpleWarrants.WarrantsManager.GameComponentTick () [0x0000c] in <72e586c22a76470c9b4c48f775c0981a>:0
at Verse.GameComponentUtility.GameComponentTick () [0x0001a] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- POSTFIX com.Replimat.patches: Void Replimat.Harmony_GameComponentUtility_GameComponentTick:Postfix()
- POSTFIX com.yayo.yayoAni: Void YayoAnimation.HarmonyPatches.GameComponentUtilityPatch+DoTicking:Postfix()
Additionally when i canceled the warrant it gave me -30 relations despite using the Mod Options to make it 0 and then trying again with 1.
Error in GenStep: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 672911D6] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.MapGenerator:GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch2 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool,bool)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (RimWorld.Planet.PlanetTile,Verse.IntVec3,RimWorld.WorldObjectDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,bool)
RimWorld.Planet.TransportersArrivalAction_VisitSite:Arrived (System.Collections.Generic.List`1<RimWorld.ActiveTransporterInfo>,RimWorld.Planet.PlanetTile)
RimWorld.Planet.TravellingTransporters:DoArrivalAction ()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Play:Update ()
Hello! I’ve encountered a recurring error when opening the Warrants tab in RimWorld 1.6 without the Biotech DLC.
Environment:
- RimWorld 1.6 (no DLCs)
- Simple Warrants (latest version)
- No other mods related to genetics or Biotech
Thank you for maintaining this mod!
Exception filling window for SimpleWarrants.MainTabWindow_Warrants: System.NullReferenceException: Object reference not set to an instance of an object [Ref 2E790515] at RimWorld.Pawn_GeneTracker.get_XenotypeLabel () [0x0000e] in <24d25868955f4df08b02c73b55f389fe>:0 at SimpleWarrants.MainTabWindow_Warrants.DoMenuSection (UnityEngine.Rect rect) [0x00505] in <72e586c22a76470c9b4c48f775c0981a>:0 at SimpleWarrants.MainTabWindow_Warrants.DoWindowContents (UnityEngine.Rect rect) [0x00097] in <72e586c22a76470c9b4c48f775c0981a>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <24d25868955f4df08b02c73b55f389fe>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Chat GPT:
It seems that the mod tries to access pawn.genes or pawn.genes.XenotypeLabel even when the Biotech gene system is not available. This results in a NullReferenceException whenever the Warrants window is opened. The error repeats as “Duplicate stacktrace, see ref for original” after the first occurrence.
Suggested fix: add a null check before accessing pawn.genes or any Biotech-related data. For example:
if (pawn.genes != null) label = pawn.genes.XenotypeLabel; else label = "Human";