RimWorld

RimWorld

MinifyEverything
TurtleShroom 15 May, 2022 @ 12:30pm
Bug Reports
Good afternoon.

The previous page for bug reports has been locked, so I am taking the liberty of creating a new thread.


Thank you.
-TURTLESHROOM
< >
Showing 1-15 of 77 comments
TurtleShroom 15 May, 2022 @ 12:31pm 
[BetterLoading] Exception occurred processing mod finalize events! Details: System.TypeInitializationException: The type initializer for 'MinifyEverything.MinifyEverything' threw an exception. ---> 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 Verse.DefDatabase`1[T].Remove (T def) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at HarmonyLib.Traverse.GetValue (System.Object[] arguments) [0x00013] in <212c5fc0752a439c852373c986c00088>:0 at MinifyEverything.MinifyEverything.RemoveMinifiedFor (Verse.ThingDef def) [0x00049] in <bec4a93c5dda48fba0019ca369848845>:0 at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0 at MinifyEverything.MinifyEverything..cctor () [0x000c6] in <bec4a93c5dda48fba0019ca369848845>: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 BetterLoading.Stage.InitialLoad.StageRunStaticCctors+<StaticConstructAll>d__16.MoveNext () [0x00073] in <3390026af42f414180bf48f96dce7287>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

I am trying to weed out some errors in my Mod list, and I came across this. I am not sure what's wrong with it, but I thought you might be able to help.

This is my Hugs Library Log: https://gist.github.com/acba8c4a369b3a740082e62d3862e820 .
Wild Dog 3 Jun, 2022 @ 11:32am 
My game ran into some errors after the update on 1 Jun. 2022
Here is the text that it listed:

Exception in RimWorld.FloatMenuMakerMap.ChoicesAtFor: System.MissingMethodException: void Verse.Log.Message(string)
at RimWorld.WorkGiver_ConstructDeliverResourcesToBlueprints.JobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x0001f] in <7927e938de4c4089b4add4215e58d5b1>:0
- prefix rimworld.erdelf.minify_everything: Boolean MinifyEverything.MinifyEverything:JobOnThingPrefix(Pawn pawn, Thing t)
at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders_NewTmp (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean drafted) [0x001d6] in <7927e938de4c4089b4add4215e58d5b1>:0
Saboteur 3 Jun, 2022 @ 4:26pm 
Jun 1st 2022 patch
- doesn't allow building of any kind
- right clicking on grey structures to be built produces this error:

Root level exception in OnGUI(): System.MissingMethodException: void Verse.Log.Message(string)
at (wrapper dynamic-method) RimWorld.WorkGiver_ConstructDeliverResourcesToBlueprints.RimWorld.WorkGiver_ConstructDeliverResourcesToBlueprints.JobOnThing_Patch1(RimWorld.WorkGiver_ConstructDeliverResourcesToBlueprints,Verse.Pawn,Verse.Thing,bool)
at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders_NewTmp (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean drafted) [0x0019d] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x00084] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn) [0x0009c] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x00056] in <7927e938de4c4089b4add4215e58d5b1>:0
at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch1(RimWorld.Selector)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <7927e938de4c4089b4add4215e58d5b1>: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)
Verse.Log:Verse.Log.Error_Patch3(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)

- Loading in a save produces this error for each pawn working haul or construction

Droid 3 threw exception in WorkGiver ConstructDeliverResourcesToBlueprints: System.MissingMethodException: void Verse.Log.Message(string)
at (wrapper dynamic-method) RimWorld.WorkGiver_ConstructDeliverResourcesToBlueprints.RimWorld.WorkGiver_ConstructDeliverResourcesToBlueprints.JobOnThing_Patch1(RimWorld.WorkGiver_ConstructDeliverResourcesToBlueprints,Verse.Pawn,Verse.Thing,bool)
at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.JobGiver_Work+<>c__DisplayClass3_1.<TryIssueJobPackage>b__0 (Verse.Thing t) [0x00013] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.GenClosest+<>c__DisplayClass2_0.<ClosestThingReachable>b__0 (Verse.Thing t) [0x00034] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.GenClosest.<ClosestThing_Global>g__Process|5_0 (Verse.Thing t, Verse.GenClosest+<>c__DisplayClass5_0& ) [0x00047] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.GenClosest.ClosestThing_Global (Verse.IntVec3 center, System.Collections.IEnumerable searchSet, System.Single maxDistance, System.Predicate`1[T] validator, System.Func`2[T,TResult] priorityGetter) [0x0005d] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.GenClosest.ClosestThingReachable (Verse.IntVec3 root, Verse.Map map, Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator, System.Collections.Generic.IEnumerable`1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions) [0x0014e] in <7927e938de4c4089b4add4215e58d5b1>:0
at ExpandedRoofing.ClosestThingReachableHelper.ClosestThingReachableWrapper (Verse.IntVec3 root, Verse.Map map, Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator, System.Collections.Generic.IEnumerable`1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions) [0x00049] in <f814eb4228dc4aa0a801e6bf24509816>:0
at (wrapper dynamic-method) RimWorld.JobGiver_Work.RimWorld.JobGiver_Work.TryIssueJobPackage_Patch1(RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams)
Verse.Log:Verse.Log.Error_Patch3(String, Boolean)
RimWorld.JobGiver_Work:RimWorld.JobGiver_Work.TryIssueJobPackage_Patch1(JobGiver_Work, Pawn, JobIssueParams)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob(ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch2(Pawn_JobTracker, JobCondition, Boolean, Boolean)
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0(Pawn_JobTracker)
Verse.Pawn:Verse.Pawn.Tick_Patch3(Pawn)
Verse.TickList:Tick()
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
erdelf  [developer] 10 Jun, 2022 @ 3:20am 
Originally posted by TurtleShroom:
Good afternoon.

The previous page for bug reports has been locked, so I am taking the liberty of creating a new thread.


Thank you.
-TURTLESHROOM

There was no previous page for it. So it wasn't locked either.
Just opening discussions on peoples' mod pages won't help you either, especially if the author isn't aware of them.
Comrade Johnny 14 Jun, 2022 @ 1:48pm 
So I dont know whether I can put this here but for some reason when I have mechanoid clusters I want to uninstall things such as the droner or the shields or stuff like that to, well use it for myself. The weird thing is that while the mod option says its not disabled I still cant uninstall them and bring them somewhere. There are other mods where similiar things are where theres just no uninstall prompt but even that doesnt work. And I cant claim it eigher so is this intended or is it conflicting with something?
erdelf  [developer] 14 Jun, 2022 @ 3:37pm 
You should be able to do that, if you can't do that yet, the cluster is not yet defeated (technically).
GnollGnoll 14 Jun, 2022 @ 10:34pm 
I'm having an issue similar to the bug that Saboteur was experiencing where building/constructing anything is impossible, and right clicking grey or "ghost" blueprints produces no dropdown menu.
Here's my HugsLib link: https://gist.github.com/fa51f46187a69b8ede92b841137a5431
Please let me know if there's anything else I can provide or clarify to help address this bug
erdelf  [developer] 15 Jun, 2022 @ 3:56am 
Originally posted by GnollGnoll:
I'm having an issue similar to the bug that Saboteur was experiencing where building/constructing anything is impossible, and right clicking grey or "ghost" blueprints produces no dropdown menu.
Here's my HugsLib link: https://gist.github.com/fa51f46187a69b8ede92b841137a5431
Please let me know if there's anything else I can provide or clarify to help address this bug
Your save is so malformed that loading it maxed out how many debug messages you can have. Clear the console after you loaded your save, and then try rightclicking and constructing something.
Comrade Johnny 15 Jun, 2022 @ 5:56am 
Originally posted by erdelf:
You should be able to do that, if you can't do that yet, the cluster is not yet defeated (technically).
Huh Interesting. What exactly counts as cluster then? It was a simple one: A single turret, five steel barricades, a timer and an ammo drop. Plus the droner ofc. Ive deconstrcuted everything except the droner and the barricades. Ill take a look around and give a status. Thanks for the help.

Edit: The reason i couldnt seize it is because its a part of a quest, meaning it appearantly stays "undefeated" for as long as it exists. So it has to be destroyed in order to be defeated. A little weird but sadly it has to be this way then. Ill get another one. If possible one of higher power later.

Edit, edit: I read the wiki article. Appearantly the condition causers, in my case the object of interest the droner must be destroyed in order to defeat the cluster. Thats a shame, I gotta find a mod that fixes that
Last edited by Comrade Johnny; 15 Jun, 2022 @ 7:07am
GnollGnoll 15 Jun, 2022 @ 6:56pm 
Originally posted by erdelf:
Your save is so malformed that loading it maxed out how many debug messages you can have. Clear the console after you loaded your save, and then try rightclicking and constructing something.

Here's the new HugsLib after clearing the console after loading that same save and attempting to rightclick and construct a wall:
https://gist.github.com/HugsLibRecordKeeper/611e90852b037c3686376f79773a010a
Also here's a screengrab of the debug box that pops up:
https://imgur.com/S1XnaeB

I did the same thing on a newer save too if that helps:
https://gist.github.com/HugsLibRecordKeeper/91d11d15222b2251b8f92784a0b87ae8
https://imgur.com/ssygfrv

The HugsLib log still looks really long, I may not be understanding how to clear the console properly.
erdelf  [developer] 15 Jun, 2022 @ 7:16pm 
Clearing the console just enables logging again. That's why I wanted it.

So your issue is that Home Mover is using old code and therefore breaking some code relevant to constructing.
GnollGnoll 17 Jun, 2022 @ 7:10pm 
I un-enabled Home Mover (while still keeping Minify Everything enabled) and attempted to build a slate wall and was still unable to:

https://gist.github.com/79775736cc71c5987d665a46044fc460
https://imgur.com/sP9lME7

I'll also share these over to the Home Mover mod author. But is there anything else that I could do to troubleshoot this bug while still using Minify Everything?

Edit: It looks like the mod author of Home Mover is no longer active. I don't mind playing without Home Mover, but even unenabling and unsubscribing from HM doesn't seem to fix the bug.
Last edited by GnollGnoll; 17 Jun, 2022 @ 7:23pm
erdelf  [developer] 17 Jun, 2022 @ 8:06pm 
It seems that mod wasn't quite ready to be removed like that, but alright. Did you try to build in that log ?

The image you shared is before you removed HomeMover from what I can tell, it's not in the log, and it indicates two patches on a method where your log shows only one.
Angel 23 Aug, 2022 @ 7:22pm 
so the blacklist stopped working for me, that is I could minify things that I had set in the options not to. And the log kept showing errors. This was only with this mod and base game only. It seemed to have fixed itself after I deleted the config file and un/resubscribed to mod. I'm not sure what happened there.

Error in static constructor of MinifyEverything.MinifyEverything: System.TypeInitializationException: The type initializer for 'MinifyEverything.MinifyEverything' threw an exception. ---> 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 Verse.DefDatabase`1[T].Remove (T def) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.Traverse.GetValue (System.Object[] arguments) [0x00019] in <b8c0492ccdbd4fd09b88c2c346f3f729>:0
at MinifyEverything.MinifyEverything.RemoveMinifiedFor (Verse.ThingDef def) [0x00049] in <642c1c2f031d40629562eeef12a8bc74>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0
at MinifyEverything.MinifyEverything..cctor () [0x000d7] in <642c1c2f031d40629562eeef12a8bc74>: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 Verse.StaticConstructorOnStartupUtility.CallAll () [0x0001a] in <81af9f8a18324e17b286924a43555a7c>:0
Pringels09 17 Sep, 2022 @ 8:45am 
There seems to be some kind of conflict with your wonderful mod and save our ship 2's salvaging. Normally when you won a ship battle you get to salvage the enemy for resources. I guess sos2 tries to minify everything it can and convert he rest into resources. But with your mod salvaging (under most circumstances) return an invisible list of items and no resources while trowing the error. I tried blacklisting the sos2 items, but it still doesn't work

Error:
Exception filling window for RimWorld.Dialog_SalvageShip: System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.MinifiedThing.get_LabelNoCount () [0x00006] in <81af9f8a18324e17b286924a43555a7c>:0 at RimWorld.TransferableOneWay.get_Label () [0x00006] in <81af9f8a18324e17b286924a43555a7c>:0 at RimWorld.TransferableOneWayWidget.<CacheTransferables>b__54_0 (RimWorld.TransferableOneWay tr) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0 at System.Linq.Utilities+<>c__DisplayClass1_0`1[TSource].<CombinePredicates>b__0 (TSource x) [0x0000e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable+WhereListIterator`1[TSource].ToArray () [0x00023] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x0000a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.OrderedEnumerable`1[TElement].ToList () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at RimWorld.TransferableOneWayWidget.CacheTransferables () [0x000c9] in <81af9f8a18324e17b286924a43555a7c>:0 at RimWorld.TransferableOneWayWidget.OnGUI (UnityEngine.Rect inRect, System.Boolean& anythingChanged) [0x00008] in <81af9f8a18324e17b286924a43555a7c>:0 at RimWorld.Dialog_SalvageShip.DoWindowContents (UnityEngine.Rect inRect) [0x001f1] in <a1c3eb9765be4506acd88b9f97d0dea7>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <81af9f8a18324e17b286924a43555a7c>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-15 of 77 comments
Per page: 1530 50