"Wildlife" Tab does not open
94e2215f04 opened this issue · 5 comments
94e2215f04 commented
development branch
Wildlife Tab does not open. Nothing happens. Log shows following 2 Log messages each time one presses.
Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&,string&,bool,bool)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00094] in <d006c28bc811417ea565feda544f6d2b>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateOrRedressPawnInternal_Patch2(Verse.PawnGenerationRequest)
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch4(Verse.PawnGenerationRequest)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch4 (Verse.PawnGenerationRequest)
Numbers.MainTabWindow_Numbers:GetHumanLikeStatDefs ()
Numbers.MainTabWindow_Numbers:.ctor ()
Numbers.MainTabWindow_NumbersWildLife:.ctor ()
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
System.RuntimeType:CreateInstanceMono (bool)
System.RuntimeType:CreateInstanceSlow (bool,bool,bool,System.Threading.StackCrawlMark&)
System.RuntimeType:CreateInstanceDefaultCtor (bool,bool,bool,System.Threading.StackCrawlMark&)
System.Activator:CreateInstance (System.Type,bool)
System.Activator:CreateInstance (System.Type)
RimWorld.MainButtonDef:get_TabWindow ()
(wrapper dynamic-method) RimWorld.MainTabsRoot:RimWorld.MainTabsRoot.ToggleTab_Patch1 (RimWorld.MainTabsRoot,RimWorld.MainButtonDef,bool)
RimWorld.MainButtonWorker_ToggleTab:Activate ()
RimWorld.MainButtonWorker:InterfaceTryActivate ()
RimWorld.MainButtonWorker:DoButton (UnityEngine.Rect)
RimWorld.MainButtonsRoot:DoButtons ()
(wrapper dynamic-method) RimWorld.MainButtonsRoot:RimWorld.MainButtonsRoot.MainButtonsOnGUI_Patch1 (RimWorld.MainButtonsRoot)
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch3 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)
Root level exception in OnGUI(): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&,string&,bool,bool)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00094] in <d006c28bc811417ea565feda544f6d2b>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateOrRedressPawnInternal_Patch2(Verse.PawnGenerationRequest)
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch4(Verse.PawnGenerationRequest)
at Numbers.MainTabWindow_Numbers.GetHumanLikeStatDefs () [0x00083] in <e82b58ed44144c4ea85cf3c3a36aae76>:0
at Numbers.MainTabWindow_Numbers..ctor () [0x00085] in <e82b58ed44144c4ea85cf3c3a36aae76>:0
at Numbers.MainTabWindow_NumbersWildLife..ctor () [0x00000] in <e82b58ed44144c4ea85cf3c3a36aae76>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.MainButtonDef.get_TabWindow () [0x00016] in <d006c28bc811417ea565feda544f6d2b>:0
at (wrapper dynamic-method) RimWorld.MainTabsRoot.RimWorld.MainTabsRoot.ToggleTab_Patch1(RimWorld.MainTabsRoot,RimWorld.MainButtonDef,bool)
at RimWorld.MainButtonWorker_ToggleTab.Activate () [0x00005] in <d006c28bc811417ea565feda544f6d2b>:0
at RimWorld.MainButtonWorker.InterfaceTryActivate () [0x0008d] in <d006c28bc811417ea565feda544f6d2b>:0
at RimWorld.MainButtonWorker.DoButton (UnityEngine.Rect rect) [0x000ee] in <d006c28bc811417ea565feda544f6d2b>:0
at RimWorld.MainButtonsRoot.DoButtons () [0x00119] in <d006c28bc811417ea565feda544f6d2b>:0
at (wrapper dynamic-method) RimWorld.MainButtonsRoot.RimWorld.MainButtonsRoot.MainButtonsOnGUI_Patch1(RimWorld.MainButtonsRoot)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch3(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch2(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)
sidfu commented
for any issues we need the hug log so we can see everything going on. for all we know you have startup errors or such causing ingame errors
94e2215f04 commented
94e2215f04 commented
Found the following however:
Key binding conflict: MainTab_Research and MainTab_Wildlife are both bound to F5.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
Verse.KeyPrefsData:ErrorCheckOn (Verse.KeyBindingDef,Verse.KeyPrefs/BindingSlot)
Verse.KeyPrefsData:ErrorCheck ()
Verse.KeyPrefs:Init ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Key binding conflict: MainTab_Wildlife and MainTab_Research are both bound to F5.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
Verse.KeyPrefsData:ErrorCheckOn (Verse.KeyBindingDef,Verse.KeyPrefs/BindingSlot)
Verse.KeyPrefsData:ErrorCheck ()
Verse.KeyPrefs:Init ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
I'll try messing around with my keybinds.
TheLoneTec commented
please make a bug report in the discord, honestly im not a fan of how the discord gets spammed with messages here. Also the discord has instructions on how to make a proper bug report, including a Hugslib log
94e2215f04 commented
Ok. Sorry. I'll try getting discord.