RimWorld

RimWorld

[RH2] Faction: V.O.I.D.
Alex Mar 8, 2024 @ 1:01am
[bug] Power conduit layer cannot be loaded cause "invisible" map
https://imgur.com/FqwGDOH

I tested and recreate the problem with a mod list contains only performance fish, VOID(this mod), Vanilla Faction Expanded Mechanoid and huglib, like this:
https://rentry.co/hh7f4kph

the concerned error message is
Root level exception in Update(): System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at VFEMech.PotentialConnectorsForTransmitter_Patch.Postfix (System.Collections.Generic.IEnumerable`1[RimWorld.CompPower]& __result, RimWorld.CompPower b) [0x00023] in <6863a33ed0444d83a2f303862e4501a3>:0
at (wrapper dynamic-method) RimWorld.PowerConnectionMaker.RimWorld.PowerConnectionMaker.PotentialConnectorsForTransmitter_Patch1(RimWorld.CompPower)
at RimWorld.PowerConnectionMaker.ConnectAllConnectorsToTransmitter (RimWorld.CompPower newTransmitter) [0x00000] in <eeb29632ad124b59a4e69a77603ced84>:0
at RimWorld.PowerNetManager.TryCreateNetAt (Verse.IntVec3 cell) [0x00058] in <eeb29632ad124b59a4e69a77603ced84>:0
at RimWorld.PowerNetManager.UpdatePowerNetsAndConnections_First () [0x00182] in <eeb29632ad124b59a4e69a77603ced84>:0
at Verse.Map.MapUpdate () [0x00010] in <eeb29632ad124b59a4e69a77603ced84>:0
at Verse.Game.UpdatePlay () [0x00049] in <eeb29632ad124b59a4e69a77603ced84>:0
at Verse.Root_Play.Update () [0x00032] in <eeb29632ad124b59a4e69a77603ced84>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

It cannot be capture by huglib log, it capture only up to
Exception in BreadthFirstTraverse: System.NullReferenceException: Object reference not set to an instance of an object
huglib log nonetheless: https://gist.github.com/HugsLibRecordKeeper/5744d10a429de343e1fcdfe5ced41b43
This should be my whole modlist huglib and I can't upload a new one because of Upload error: Failed to parse response

Player.log on pastebin:
https://pastebin.com/hTLHTfVC
https://pastebin.com/wXmNPcHP

Using fertility visibility and roof visibility can somehow see the bug is limited to a single generation pattern like shown in this picture:
https://imgur.com/JSDM6ud
Last edited by Alex; Mar 8, 2024 @ 8:08am