SmArtKar / EnhancedBeliefs

Creative Commons Attribution 4.0 International
0 stars 1 forks source link

[BUG] Can't load the game #1

Open Kalmorph opened 3 months ago

Kalmorph commented 3 months ago

Played the game fine, saved and quitted. Later on, tried to load the game and didn't worked. At first, I thought it was CAI 5000, but game couldn't load even after removing that mod. Tried creating a new game, worked fine as well, saved, quitted. Restarted RW, tried to load, and crashed again. Dunno what's the issue, so there'ya go.

https://gist.github.com/HugsLibRecordKeeper/044123c2616b7c860fc1f284d45a20c3

SmArtKar commented 3 months ago

If you're using RimPy, please attach your updates log - it probably has something to do with those.

SmArtKar commented 3 months ago

Errors are related to RIMMSqol but that mod errors upon starting the game even on its own and the saves load completely fine with both of them (plus last update was on 22nd), so no luck on that front

Kalmorph commented 3 months ago

I don't think the mods that were updated today was the source of the issue. Only mods I saw that was updated and I was using is ReGrowth: Core, Combat always collides and Hospitality: Spa.

I believe the fault is in this:

Exception ticking Marjot (at (164, 0, 230)). Suppressing further errors. Exception: System.NullReferenceException: Object reference not set to an instance of an object
[Ref ECFD8FB6]
 at EnhancedBeliefs.IdeoTracker_CertaintyChange.Prefix (RimWorld.Pawn_IdeoTracker __instance, System.Single& __result) [0x0004d] in <5ecd15ecd1db49abb55ce946a49f9e37>:0 
 at RimWorld.Pawn_IdeoTracker.get_CertaintyChangePerDay () [0x00014] in <957a20e0be784a65bc32cf449445b937>:0 
     - PREFIX rimworld.smartkar.enhancedbeliefs.main: Boolean EnhancedBeliefs.IdeoTracker_CertaintyChange:Prefix(Pawn_IdeoTracker __instance, Single& __result)
 at RimWorld.Pawn_IdeoTracker.IdeoTrackerTick () [0x00051] in <957a20e0be784a65bc32cf449445b937>:0 
     - POSTFIX rimworld.smartkar.enhancedbeliefs.main: Void EnhancedBeliefs.IdeoTracker_Tick:Postfix(Pawn_IdeoTracker __instance)
 at Verse.Pawn.Tick () [0x002e6] in <957a20e0be784a65bc32cf449445b937>:0 
     - PREFIX RIMMSqol: Boolean RIMMSqol.ThinkResultContextRecover:Prefix()
 at Verse.TickList.Tick () [0x0015c] in <957a20e0be784a65bc32cf449445b937>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

And

Exception ticking world pawn Warthog. Suppressing further errors. System.NullReferenceException: Object reference not set to an instance of an object
[Ref FD16147D]
 at EnhancedBeliefs.IdeoTracker_CertaintyChange.Prefix (RimWorld.Pawn_IdeoTracker __instance, System.Single& __result) [0x0004d] in <5ecd15ecd1db49abb55ce946a49f9e37>:0 
 at RimWorld.Pawn_IdeoTracker.get_CertaintyChangePerDay () [0x00014] in <957a20e0be784a65bc32cf449445b937>:0 
     - PREFIX rimworld.smartkar.enhancedbeliefs.main: Boolean EnhancedBeliefs.IdeoTracker_CertaintyChange:Prefix(Pawn_IdeoTracker __instance, Single& __result)
 at RimWorld.Pawn_IdeoTracker.IdeoTrackerTick () [0x00051] in <957a20e0be784a65bc32cf449445b937>:0 
     - POSTFIX rimworld.smartkar.enhancedbeliefs.main: Void EnhancedBeliefs.IdeoTracker_Tick:Postfix(Pawn_IdeoTracker __instance)
 at Verse.Pawn.Tick () [0x002e6] in <957a20e0be784a65bc32cf449445b937>:0 
     - PREFIX RIMMSqol: Boolean RIMMSqol.ThinkResultContextRecover:Prefix()
 at RimWorld.Planet.WorldPawns.WorldPawnsTick () [0x00039] in <957a20e0be784a65bc32cf449445b937>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Kalmorph commented 3 months ago

Confirming right now, just started a new game, had a strange FPS drop, straight up saved and came back to main menu. Tried to load the game, and gave me errors failing to load the save and the map.

https://gist.github.com/HugsLibRecordKeeper/0c2865946e13f0b404b0d1f40215217c

Removed the mod, made the whole process again just the same, FPS still drops a little, but it can loads the save now. Something is clearly breaking with this mod, dunno what is causing it, if it's incompatibility. Let me know if there's anything else I can do to troubleshoot it.