RimWorld

RimWorld

HugsLib
Lt. Sniffles Oct 19, 2018 @ 10:25pm
Errors
Ok I'm absolutely lost. Been working at this for hours, tried reinstalling, deleting all leftover files, moving to a different harddrive, reorganizing and deactivating mods. I still can't get the game to not throw these errors to the point that it maxes out the log:

{LINK REMOVED}


When I clear the log, I get an infinite number of these:

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object

at Verse.KeyBindingDef.get_JustPressed () <0x00029>

at Verse.ScreenshotTaker.Update () <0x0003f>

at Verse.UIRoot.UIRootUpdate () <0x0001c>

at Verse.UIRoot_Entry.UIRootUpdate () <0x0001c>

at (wrapper dynamic-method) Verse.Root.Update_Patch1 (object) <0x0015b>



Verse.Log:Error(String, Boolean)

Verse.Root:Update_Patch1(Object)

Verse.Root_Entry:Update()



And when I try to exit the log, it doesn't let me and I get this error everytime I click the "x" button.:


Cannot play (subSound UnnamedSubSoundDef_: No resolved grains.

Verse.Log:Error(String, Boolean)

Verse.Sound.SubSoundDef:TryPlay(SoundInfo)

Verse.Sound.SoundStarter:PlayOneShot(SoundDef, SoundInfo)

Verse.Sound.SoundStarter:PlayOneShotOnCamera(SoundDef, Map)

Verse.WindowStack:TryRemove(Window, Boolean)

Verse.Window:Close(Boolean)

Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)

UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
< >
Showing 1-8 of 8 comments
Lt. Sniffles Oct 19, 2018 @ 10:28pm 
Could it have something to do with the following? (Lines 886-905):

Caught exception while loading play data but there are active mods other than Core. Resetting mods config and trying again.
The exception was: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.StatWorker_MarketValue.CalculatedBaseMarketValue (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x00000] in <filename unknown>:0
at RimWorld.StatWorker_MarketValue.GetValueUnfinalized (StatRequest req, Boolean applyPostProcess) [0x00000] in <filename unknown>:0
at RimWorld.StatWorker.GetValue (StatRequest req, Boolean applyPostProcess) [0x00000] in <filename unknown>:0
at RimWorld.StatWorker.GetValueAbstract (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x00000] in <filename unknown>:0
at RimWorld.StatExtension.GetStatValueAbstract (Verse.BuildableDef def, RimWorld.StatDef stat, Verse.ThingDef stuff) [0x00000] in <filename unknown>:0
at RimWorld.WealthWatcher.ResetStaticData () [0x00000] in <filename unknown>:0
at Verse.PlayDataLoader.DoPlayLoad () [0x00000] in <filename unknown>:0
at Verse.PlayDataLoader.LoadAllPlayData (Boolean recovering) [0x00000] in <filename unknown>:0

Could not recover from errors loading play data. Giving up.

Exception from asynchronous event: System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1<RimWorld.PawnColumnDef>.RemoveAt (int) <0x000d2>
at AnimalTab.Patch_GenerateImpliedDefs_PreResolve.Postfix () <0x00087>
at (wrapper dynamic-method) RimWorld.DefGenerator.GenerateImpliedDefs_PreResolve_Patch5 () <0x004b4>
at (wrapper dynamic-method) Verse.PlayDataLoader.DoPlayLoad_Patch1 () <0x003e7>
at Verse.PlayDataLoader.LoadAllPlayData (bool) <0x00077>
Last edited by Lt. Sniffles; Oct 19, 2018 @ 10:31pm
Symbolic  [developer] Oct 20, 2018 @ 2:53am 
When all else fails, you can always disable all mods and start adding them one by one to identify the culprit. If the game won't let you change your mod configuration (which might be the case here) you can delete your config file manually:
C:\Users\Username\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config\ModsConfig.xml
Symbolic  [developer] Mar 21, 2019 @ 8:51am 
@knight guard
Looks like a load order issue. Try putting HugsLib right after Core in your Mods menu.
Omega13 Apr 2, 2019 @ 7:07am 
I was attempting to upload an error log and got this message: Upload Error: Failed to collect data.

What am I doing wrong?
BlueTressym Apr 3, 2019 @ 8:35pm 
Hi. I'm suddenly getting a mass of red errors, several of which seem to be mentioning Hugslib. I haven't changed my modlist; these errors have appeared without me actually making any changes, so I'm bewildered. I currently have no save game but I can make one if I can get to the stage.

Here is my debug: https :/git.io/fjIxE (there's a space between the https and the : because Steam is a jerk and has been deleting all my log links)
Beelzemoff Apr 10, 2019 @ 9:11am 
both are up to date, hugslib after core, preparecarefully after it


Failed to patch the game code as needed for Prepare Carefully. There was an unexpected exception.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
at Harmony.AccessTools+<>c.<TypeByName>b__1_0 (System.Reflection.Assembly x) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12`2[System.Reflection.Assembly,System.Type].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.First[Type] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.FirstOrDefault[Type] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
at Harmony.AccessTools.TypeByName (System.String name) [0x00000] in <filename unknown>:0
at EdB.PrepareCarefully.HarmonyPatches..cctor () [0x00000] in <filename unknown>:0
Verse.Log:Warning(String, Boolean)
EdB.PrepareCarefully.HarmonyPatches:.cctor()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(IntPtr)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll()
Verse.PlayDataLoader:<DoPlayLoad>m__2()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()
Last edited by Beelzemoff; Apr 10, 2019 @ 9:32am
< >
Showing 1-8 of 8 comments
Per page: 1530 50