RimWorld

RimWorld

Rimefeller
Map breaking on map load
Hello. Rimefeller says my game keeps breaking on map load (and yeah, it does) but I can't really figure out the issue, and lord knows ive spent ages trying to. Realistically, what happens is that my debug log is flooded with this error over and over:

Root level exception in Update(): System.InvalidCastException: Specified cast is not valid.
at RimWorld.PowerConnectionMaker+<PotentialConnectorsForTransmitter>d__5.MoveNext () [0x00119] in <d72310b4d8f64d25aee502792b58549f>:0
at System.Linq.Enumerable.Count[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00052] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at VFEMech.PotentialConnectorsForTransmitter_Patch.Postfix (System.Collections.Generic.IEnumerable`1[RimWorld.CompPower]& __result, RimWorld.CompPower b) [0x00001] in <38822466d329429fa844bf0eb6a57d01>:0
at (wrapper dynamic-method) RimWorld.PowerConnectionMaker.RimWorld.PowerConnectionMaker.PotentialConnectorsForTransmitter_Patch1(RimWorld.CompPower)
at RimWorld.PowerConnectionMaker.ConnectAllConnectorsToTransmitter (RimWorld.CompPower newTransmitter) [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.PowerNetManager.TryCreateNetAt (Verse.IntVec3 cell) [0x00058] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.PowerNetManager.UpdatePowerNetsAndConnections_First () [0x001cb] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) Verse.Map.Verse.Map.MapUpdate_Patch2(Verse.Map)
at (wrapper dynamic-method) Verse.Game.Verse.Game.UpdatePlay_Patch2(Verse.Game)
at (wrapper dynamic-method) Verse.Root_Play.Verse.Root_Play.Update_Patch1(Verse.Root_Play)
Verse.Log:Error(String, Boolean)
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)

Right when this error procs, my map turns grey. Nothing happens in game to cause this that I can see-- no matter when i reload my save it eventually ends up with the map breaking. Here is my full debug log for reference:

https://gist.github.com/HugsLibRecordKeeper/50525b9fa5da12cc015d8e1784282433
< >
Showing 1-3 of 3 comments
wishichorthing Jan 26, 2021 @ 3:51am 
After some more investigating, i think i figured it out: there seems to be a game-breaking incompatibility between the deployable cover tiles in Vanilla Furniture Expanded - Security and the mechanoid turrets in Vanilla Factions Expanded - Mechanoids, specifically when they are placed right next to each other. I'll make sure to link to this discussion on both their mod pages, so it will be left up in the hopes it can help others who might be having similar issues!
halfdan Jul 30, 2021 @ 6:11pm 
@birbules I've spent 7 hours trying to fix my save, I was so close until I saw this. 🙏 Thank you I was able to recover my save.
AXS Oct 8, 2022 @ 5:06am 
Originally posted by birbules:
After some more investigating, i think i figured it out: there seems to be a game-breaking incompatibility between the deployable cover tiles in Vanilla Furniture Expanded - Security and the mechanoid turrets in Vanilla Factions Expanded - Mechanoids, specifically when they are placed right next to each other. I'll make sure to link to this discussion on both their mod pages, so it will be left up in the hopes it can help others who might be having similar issues!
So we just delete those 2 Vanilla expanded mods and it will work?
< >
Showing 1-3 of 3 comments
Per page: 1530 50