RimWorld

RimWorld

KanbanStockpile
Let's Crash 10 Dec, 2021 @ 6:37pm
Curious Error? Not TLDR..
I attempted to install this mod today and came across a strange issue I wonder if anyone else has this problem and if anyone might know what to do about it. It appears to be failing to log a message? I'm running 1.2 btw, not ready to give up my old saves yet
[BetterLoading] Exception occurred processing mod finalize events! Details: System.TypeInitializationException: The type initializer for 'KanbanStockpile.KanbanStockpileLoader' threw an exception. ---> System.MissingMethodException: void Verse.Log.Message(string) --- 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 <567df3e0919241ba98db88bec4c6696f>:0 at BetterLoading.Stage.InitialLoad.StageRunStaticCctors+<StaticConstructAll>d__16.MoveNext () [0x00074] in <0db29cd9154f4d018b9bc84feb9aff6b>:0 Verse.Log:Verse.Log.Error_Patch2(String, Boolean) BetterLoading.Stage.InitialLoad.<StaticConstructAll>d__16:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Here is my modlist, I know it's massive, please forgive me; a small handful are some I've personally made, and haven't released, but they shouldn't be doing anything too crazy.
It is in launch order. I get decent to good performance with this list and minimal errors.

NOT TLDR WARNING!! Absolutely please forgive me at the length of this. Use Ctrl-F if possible!!
Version: 1 Name: Normal Modlist Mods: Name: Better ModMismatch Window Name: Dubs Performance Analyzer Name: Harmony Name: BetterLoading Name: Startup impact Name: HugsLib Name: TD Enhancement Pack Name: Auto links Name: Randy and Cassandra Name: EvilRandy --made by me(mbm), makes randy harder Name: Preemptive Strike (Fork) Name: Extended Storage (Continued) Name: Configurable Room Stats Name: Misc. Robots Name: Animal Tab Name: Interaction Bubbles Name: Meals On Wheels Name: Medical Tab Name: Pawn Rules Name: P-Music Name: Work Tab Name: '[KV] RimFridge' Name: More Shelves Name: Incident Disabler Name: Quality Colors Name: Achtung! Name: RunAndGun Name: Mad Skills Name: EdB Prepare Carefully Name: Reverse Commands Name: Defensive Positions Name: QualityBuilder Name: Allow Tool Name: Camera+ Name: Just Ignore Me Passing Name: MinifyEverything Name: Disable Sappers Name: Snap Out! Name: Share The Load Name: Replace Stuff Name: Wall Light Name: All Edible Food Restriction Name: Drugs are not Food Name: Noku Mushrooms Name: Mod Manager Name: '[FSF] Filth Vanishes With Rain And Time' Name: Crafting Quality Rebalanced Name: RPG Style Inventory Name: Everybody Gets One Name: DontBlockDoor Name: Level Up! Name: Vanilla Hair Expanded Name: Dubs Apparel Tweaks Name: Apparel Tainted Only When Corpse Rots Name: BetaTraps Name: '[FSF] Better Spike Traps' Name: Columns Don't Take Up Spaces Name: Mortar Accuracy Name: Loading In Progress Name: CM Color Coded Mood Bar [1.1+] Name: Natural Paths Name: No Job Authors Name: Common Sense Name: Use Minified Buildings Name: Labels on Floor Name: Natural Lakes Name: Damage Indicators [1.3] Name: We Had a Trader? (Continued) Name: ED-Embrasures Name: Recipe icons Name: Buyable Quest Rewards Name: More Hydroponics Crops Name: Keep Bed Ownership Name: Electric Stonecutting Table Name: Simply More Bridges (Continued) Name: Hydroponic Wood Name: Craftable Antigrain Name: '[FSF] Growable Ambrosia' Name: RT Fuse Name: Trade Ships Drop Spot Name: Traps Plus (Continued) Name: Sun Lamp Power Name: Neutrino Generator Name: Process Neutroamine from Chemfuel Name: Rapid Mortars Name: RT Solar Flare Shield Name: Advanced Hydroponics Name: More Trade Ships Name: Smart Medicine Name: While You're Up / PUAH+ Name: '[FSF] Encounter Map Resources' Name: Gunplay Name: Bionic icons Name: Trader ships Name: High quality textures Name: '[FSF] Growable Mushrooms' Name: Pick Up And Haul (Continued) Name: Trap Disable Name: Herd Migration Revival(revived) Name: RimHUD Name: Predator Hunt Alert Name: Reasonable Components Name: Simple Bulk Drugs(continued) Name: Moody Name: More Vanilla Turrets 1.1+ Name: '[SYR] Harvest Yield' Name: UltimateRaids Name: Grazing Lands Name: Bulk Smelting Name: Stack XXL Name: Architect Icons Name: Cheap Mortar Shell - No Antigrain Name: '[Royalty] Unlock Working Emperor (Continued)' Name: '[NL] Custom Portraits' Name: Psychic Harmonizer Lag Fix Name: '[KV] Path Avoid' Name: Addictol - Addiction Removal Name: Realistic Smokeleaf Name: Simple Nuclear Reactors Name: Tiny Table Name: DE Surgeries Name: Dubs Mint Menus Name: Less Arbitrary Surgery (Continued) Name: InduceComa --mbm, recipe to KO a pawn Name: Carps Modifications --mbm, changes to other mods and small crap Name: MaintenanceShelf -- mbm, another tool cabinet Name: AutomatedElectricStove -- mbm, fast stove Name: EfficientAnestetic -- mbm, fast anesthetic Name: EfficientJoy -- mbm, rework joy objects Name: EfficientTurrets -- mbm, turret rework Name: EfficientCremation -- mbm, fast cremation recipes Name: ReloadOrbitals -- mbm, reload exotic weapons Name: PlayerMechShield -- mbm, build v. simple mech shields Name: MoreMedicalCures -- mbm, cure even more hediffs Name: ImWalkinHere -- mbm, move fast through stuff Name: HarmlessSmokeleaf -- mbm, modifies effects Name: CraftHyperweave -- mbm, grow synthread plants and recipe Name: Psychic Expansion -- mbm, bunch of psycasts Name: ADR Ammunition Destruction Reduction -- mbm, bullets hurt buldings less Name: Chemfuel from Rotten Corpses -- mbm, on the tin Name: Craftable Artifacts -- mbm, make pulsars Name: Domestic Warg -- mbm, fast hauling warg Name: Drop the Beer -- mbm, fermenting barrel job tweak, doesn't haul beer- Name: Farmers Markets Rogue Slavers n Superstores -- mbm, more tradertypes Name: Frags n Nukes -- mbm, more mortar shells Name: Mass Joyfuzz and Easy Joyfuzz -- mbm, joyfuzz less harmful to manipulation Name: More Haul Boys -- mbm, thrumbo megasloth are caravan pack Name: More Infinite Reactors -- mbm, on the tin Name: More Inspirations -- ^^ Name: Ultimate Batteries -- mbm, big battery and vanometric cells Name: Fast Decompose -- mbm, rotting and dessicated corpses rot faster Name: Mass Assign Zone -- mbm, fluffys animal tab mass assign for pawn related tabs Name: Craftable Royalty Weapons Name: Craftable Stellic Crown Name: SF Grim Reality Name: Prisoner Harvesting Name: Quick Stockpile Creation Name: Quest Reward Rebalance Name: Numbers Name: Use Bedrolls Name: '[LTw] Force Field Walls' Name: Hold Open Opens Doors Name: More Archotech Implants Name: Plant Growth Sync Continued Name: 99 Percent [1.3] Name: Various Space Ship Chunk (Continued) Name: Better Jump Pack (Continued) Name: RimSearch Name: Choice Of Psycasts Name: Smarter Construction Name: Smarter Deconstruction and Mining Name: Do Something for Idle Name: RocketMan - Performance Mod
Last edited by Let's Crash; 10 Dec, 2021 @ 6:39pm
< >
Showing 1-3 of 3 comments
ubergarm  [developer] 18 Dec, 2021 @ 9:06pm 
Hrm, thanks for sharing here in the discussion area. I originally wrote this mod for 1.2 and haven't updated much for 1.3 except compiling against latest harmony and multiplayer api.

I haven't tested with "better loading" (or a number of the mods you list)... I don't know exactly how to read that error either, seems to be complaining "System.MissingMethodException: void Verse.Log.Message(string)"...

I use "Verse.Log.Message()" for writing out debugging messages but that is pretty normal and hasn't changed afaik:
https://github.com/ubergarm/RimWorld-KanbanStockpile/blob/master/Source/Main.cs#L90

If anyone else has had luck with 1.2 feel free to report, and I might give a quick test over the holidays with just bare 1.2, better loading, and Kanban Stockpile to see if that is enough to reproduce the exception.

Thanks
Let's Crash 19 Dec, 2021 @ 5:10pm 
I agree, the log messages didn't change between 1.2 and 1.3 which is why I'm so lost and why I figured I would post a discussion. Maybe someone knows..

So far removing Better Loading didn't help and it's stating Startup Impact is apart of that stack now. However, removing Startup Impact leaves us with no more clues..
Error in static constructor of KanbanStockpile.KanbanStockpileLoader: System.TypeInitializationException: The type initializer for 'KanbanStockpile.KanbanStockpileLoader' threw an exception. ---> System.MissingMethodException: void Verse.Log.Message(string) --- 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 <567df3e0919241ba98db88bec4c6696f>:0 at Verse.StaticConstructorOnStartupUtility.CallAll () [0x0001a] in <12a8d1a0a5a64eae86579edb3a3b30c7>:0
ubergarm  [developer] 6 Nov, 2022 @ 7:27am 
It is possible the included 1.2 DLL files are for a slightly different version of 1.2 that is not compatible.

Before updating to 1.4 it was throwing a similar error, and to fix it I just had to recompile against the latest 1.4 DLLs.

Sorry it didn't seem to work out for you. I'm curious to see how many of the unmaintained mods get updates for 1.4 now.

All life is change! Namaste! Cheers!
< >
Showing 1-3 of 3 comments
Per page: 1530 50