RimWorld

RimWorld

Cozy Fires
NotoriousNix 30. okt. 2022 kl. 15.58
Error Log
Got an error log for you.

Error in static constructor of CozyFires.Main: System.TypeInitializationException: The type initializer for 'CozyFires.Main' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at CozyFires.Main..cctor () [0x002c7] in <e1e76bf2550a4d178b75a69b0c070d05>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at (wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility.Verse.StaticConstructorOnStartupUtility.CallAll_Patch3()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
< >
Viser 19 av 9 kommentarer
velcroboy333  [utvikler] 31. okt. 2022 kl. 10.09 
Thanks for that. I will be looking into this further today. Did you get this error on startup or while playing?

Also, could you send a full hugslist log? ctrl+f12 with Devmode on.
NotoriousNix 31. okt. 2022 kl. 14.45 
This was on startup I just accessed the full logs and copied the bit that applied to the mod. I'll try and get you a full log.
Sist redigert av NotoriousNix; 31. okt. 2022 kl. 14.47
NotoriousNix 31. okt. 2022 kl. 14.51 
Lots of errors I know, rimpy is giving me issues and im going through each mod.

https://gist.github.com/f589789fe0867232fc9d8cbc8298be37
velcroboy333  [utvikler] 31. okt. 2022 kl. 17.09 
Thanks. The fix I just sent through should make those errors go away. Make sure to unsub/resub to force the update and let me know if you get anything else.
jefener 4. feb. 2023 kl. 13.37 
Adding onto this with an error I found when trying to build Medieval Overhaul's wax candles, which removes all UI and crashes the game:

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.CompFacility.RimWorld.CompFacility.DrawPlaceMouseAttachmentsToPotentialThingsToLinkTo_Patch0(single,single&,Verse.ThingDef,Verse.IntVec3,Verse.Rot4,Verse.Map)
at RimWorld.PlaceWorker_ShowFacilitiesConnections.DrawPlaceMouseAttachments (System.Single curX, System.Single& curY, Verse.BuildableDef bdef, Verse.IntVec3 center, Verse.Rot4 rot) [0x0003d] in <32ce1f44d6b54e75a3209fc1c4a7e2db>:0
at RimWorld.Designator_Place.DrawMouseAttachments () [0x00080] in <32ce1f44d6b54e75a3209fc1c4a7e2db>:0
at RimWorld.Designator_Build.DrawMouseAttachments () [0x0002f] in <32ce1f44d6b54e75a3209fc1c4a7e2db>:0
at Verse.DesignatorManager.DesignationManagerOnGUI () [0x00013] in <32ce1f44d6b54e75a3209fc1c4a7e2db>:0
at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () [0x00059] in <32ce1f44d6b54e75a3209fc1c4a7e2db>:0
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
[Ref 5C4E13DC]
at <0x1b3018f62d0 + 0x00c65> <unknown method>
--- End of inner exception stack trace ---
[Ref 1C33BC49]
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()
- POSTFIX LayeredDestruction.patch: Void LayeredDestruction.StaticConstructorOnStartupUtilityPatch:Postfix()
- POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.InitializeMod:Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
TurtleShroom 25. jan. kl. 10.06 
Error in static constructor of CozyFires.Main: System.TypeInitializationException: The type initializer for 'CozyFires.Main' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object [Ref 962BE7BF] at <0x2ac75d5ac80 + 0x00ce9> <unknown method> --- End of inner exception stack trace --- [Ref 121F500C] Duplicate stacktrace, see ref for original UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch1 () Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

I am getting a very similar error.

This is my Hugs Library Log: https://gist.github.com/HugsLibRecordKeeper/0b44a8c594ae50db9cc3376fa45824fe .
Error in static constructor of CozyFires.Main: System.TypeInitializationException: The type initializer for 'CozyFires.Main' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
[Ref AD637006]
<0x2d2cc29e840 + 0x00de5> <unknown method>
--- End of inner exception stack trace ---
[Ref 7F39E0DD]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <fcfab19af5d14a608a65ebd77f29482f>:0
- POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()
- POSTFIX net.avilmask.rimworld.mod.NonUnoPinata: Void NonUnoPinata.Patches.StaticConstructorOnStartupUtility_CallAll_NonUnoPinataPatch:Postfix()
- POSTFIX LayeredDestruction.patch: Void LayeredDestruction.StaticConstructorOnStartupUtilityPatch:Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch2 (Verse.Root)
Verse.Root_Entry:Update ()

1.6 with Odyssey.

https://gist.github.com/HugsLibRecordKeeper/c8e0f61b731f452f4d5bb92d4225ce18
velcroboy333  [utvikler] 12. juli kl. 10.27 
I looked into this. It seems to suggest a conflict with either Geological Landforms, Non Uno Pinata, and/or Layered Wall Destruction. I tested with all those mod combinations and I am unable to reproduce the error.

You might have to try splitting your mod list in half incrementally to try and find the mod that's causing the conflict. Let me know if you find it.
< >
Viser 19 av 9 kommentarer
Per side: 1530 50