RimWorld
Replace Stuff - Continued
dcrookston 2025년 11월 18일 오후 5시 07분
Bridge change causing error?
I just launched RW and got this (new) error. I see you updated ReplaceStuff recently and one of the patch notes mentions bridges. Unfortunately this seems to be breaking my entire base.

Error in static constructor of Replace_Stuff.PlaceBridges.BridgelikeTerrain: System.TypeInitializationException: The type initializer for 'Replace_Stuff.PlaceBridges.BridgelikeTerrain' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
[Ref 33C51C4B] Duplicate stacktrace, see ref for original
--- End of inner exception stack trace ---
[Ref 44B40503]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <46372f5dadbf4af8939e608076251180>:0
- POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()
- POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.InitializeMod:Postfix()
- POSTFIX VanillaTradingExpandedEarly.Mod: Void VanillaTradingExpanded.Initializer:Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
< >
전체 댓글 18개 중 1~15개 표시 중
Moon 2025년 11월 18일 오후 5시 21분 
Yes, I'm having a similar issue. Half of my walls have disappeared and I can't rebuild them—error windows keep popping up.
Meme Goddess  [개발자] 2025년 11월 18일 오후 5시 30분 
Is this with the new update? Can you verify your game files and check if the issue still happens
Meme Goddess 님이 마지막으로 수정; 2025년 11월 18일 오후 5시 30분
dcrookston 2025년 11월 18일 오후 5시 31분 
I downloaded the older version of the .dll, removed the line that was added in BridgelikeTerrain.cs, and everything is working fine again. You can download the older .dll from GitHub, and the file to modify is in Source/PlaceBridges line... 105 I think.
dcrookston 2025년 11월 18일 오후 5시 32분 
Meme Goddess 님이 먼저 게시:
Is this with the new update? Can you verify your game files and check if the issue still happens

Yes, it's with the new update. (To future readers: new as of Nov. 19 2025.) Verifying game files, please stand by.
Meme Goddess  [개발자] 2025년 11월 18일 오후 5시 34분 
There was an update to fix grav substructure being used to auto bridge, and that fix caused this issue. But I quickly released a fix for the null reference bug after that, verifying will force it to download the latest version ^.^
Meme Goddess  [개발자] 2025년 11월 18일 오후 5시 37분 
If the issue is still happening, I'd love your mod list ^.^ If you could export it with RimSort via rentry, that'd be really helpful. Also your save file, since the issue doesn't happen at all for my saves
dcrookston 2025년 11월 18일 오후 5시 37분 
Game files verified. It didn't say there were any problems, but I don't know if it that means there were no problems. I double checked the .cs file and the line I removed hasn't been replaced so now I get to figure out how to force Steam to re-download a mod file.

Actually (and I'm sorry, but..) I'm going to just play with the older version of the mod under the assumption that this will be fixed soon. The fact that reverting the change fixed the problem seems a pretty clear indication that it's the source of the issue.
dcrookston 2025년 11월 18일 오후 5시 39분 
Mod list: https://rentry.co/a4p6i4h5

Where should I upload the saved game?
Meme Goddess  [개발자] 2025년 11월 18일 오후 5시 42분 
Where ever works for you, something like Google Drive ^.^ Or you could send it to me on Discord
dcrookston 2025년 11월 18일 오후 5시 47분 
How do I reach you on Discord?
Meme Goddess  [개발자] 2025년 11월 18일 오후 5시 47분 
Add me, {REDACTED}
Meme Goddess 님이 마지막으로 수정; 2025년 11월 19일 오후 8시 40분
Cinie Min 2025년 11월 18일 오후 5시 53분 
I'm also having this issue as well. Part of my base walls are completely gone, a lot of my storage containers and most of my food from them as well. The same error is appearing when opening up the game.

Additionally: If I try to build walls or doors on top of where the items were originally, it completely freezes my game to where I have to Alt+F4.

I also verified my files via Steam, and the issue still persists. Just want to add to the post since it looks like only a couple of people before me has ran into this issue :)

I was playing yesterday and there were no issues beforehand, and this is the only mod on my list that got updated today, which is when I found it broken.
Meme Goddess  [개발자] 2025년 11월 18일 오후 5시 55분 
Ok, I'm just going to revert the update. It seems enough people are having this issue, and I haven't got a clue how or why it's happening yet
A 2025년 11월 18일 오후 6시 01분 
Moon 님이 먼저 게시:
Yes, I'm having a similar issue. Half of my walls have disappeared and I can't rebuild them—error windows keep popping up.

Same error.

Verified files twice.
Restarted workstation twice
Walls gone and if I try to place any the UI freezes.
Meme Goddess  [개발자] 2025년 11월 18일 오후 6시 03분 
I've reverted the update now, seems there's some issue with it conflicting with another mod or something. If you're still having an issue, please verify your game files now to force it to download the current version
< >
전체 댓글 18개 중 1~15개 표시 중
페이지당 표시 개수: 1530 50