RimWorld

RimWorld

rad_hazard_c Jul 29, 2021 @ 9:52am
Any ideas what this error is, and if its mod related.
Getting this error and today my screen is starting to flash for a fraction of a second when this fault hits the log. The game is still playable but the flashing is annoying.

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object at Verse.Thing.get_Smeltable () [0x00020] in <c9dba226d8de460c86a9518faa82e725>:0 at RimWorld.SpecialThingFilterWorker_Smeltable.Matches (Verse.Thing t) [0x00010] in <c9dba226d8de460c86a9518faa82e725>:0 at Verse.ThingFilter.Allows (Verse.Thing t) [0x000a1] in <c9dba226d8de460c86a9518faa82e725>:0 at RimWorld.StorageSettings.AllowedToAccept (Verse.Thing t) [0x00000] in <c9dba226d8de460c86a9518faa82e725>:0 at (wrapper dynamic-method) RimWorld.Building_Storage.RimWorld.Building_Storage.Accepts_Patch1(RimWorld.Building_Storage,Verse.Thing) at (wrapper dynamic-method) RimWorld.StoreUtility.RimWorld.StoreUtility.TryFindBestBetterStoreCellForWorker_Patch1(Verse.Thing,Verse.Pawn,Verse.Map,RimWorld.Faction,RimWorld.SlotGroup,bool,Verse.IntVec3&,single&,RimWorld.StoragePriority&) at RimWorld.StoreUtility.TryFindBestBetterStoreCellFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, RimWorld.StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, System.Boolean needAccurateResult) [0x0005f] in <c9dba226d8de460c86a9518faa82e725>:0 at RimWorld.StoreUtility.TryFindBestBetterStorageFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, RimWorld.StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, RimWorld.IHaulDestination& haulDestination, System.Boolean needAccurateResult) [0x00008] in <c9dba226d8de460c86a9518faa82e725>:0 at RimWorld.StoreUtility.IsInValidBestStorage (Verse.Thing t) [0x0002d] in <c9dba226d8de460c86a9518faa82e725>:0 at RimWorld.ListerHaulables.ShouldBeHaulable (Verse.Thing t) [0x0004d] in <c9dba226d8de460c86a9518faa82e725>:0 at RimWorld.ListerHaulables.Check (Verse.Thing t) [0x00000] in <c9dba226d8de460c86a9518faa82e725>:0 at RimWorld.ListerHaulables.ListerHaulablesTick () [0x0011d] in <c9dba226d8de460c86a9518faa82e725>:0 at Verse.Map.MapPreTick () [0x0000b] in <c9dba226d8de460c86a9518faa82e725>:0 at (wrapper dynamic-method) Verse.TickManager.Verse.TickManager.DoSingleTick_Patch1(Verse.TickManager) at Verse.TickManager.TickManagerUpdate () [0x0006a] in <c9dba226d8de460c86a9518faa82e725>:0 at (wrapper dynamic-method) Verse.Game.Verse.Game.UpdatePlay_Patch1(Verse.Game) at Verse.Root_Play.Update () [0x00032] in <c9dba226d8de460c86a9518faa82e725>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
< >
Showing 1-13 of 13 comments
ᖇIᑎ Jul 29, 2021 @ 10:20am 
Seems like your pawns are trying to haul something. Try deactivating any hauling mods you may have; Pick Up and Haul, Share the Load, etc.
Cheet4h Jul 29, 2021 @ 12:10pm 
I think it's before that, generating the actual hauling job where the game checks whether an item can be moved to a stockpile with a higher priority. It seems as if the error happens when the game tries to access the item's "Smeltable" property, so maybe some mod created an item where neither "smeltable" nor "non-smeltable" is set.
rad_hazard_c Jul 29, 2021 @ 1:39pm 
With a bit of deconstruction of various items built around the time I found it was the shelves I'd just build along with one or more articles of clothing, I haven't isolated which one or any special qualities it has that would do this, but its narrowed down quite a bit since I posted.

Thank you both.
ᖇIᑎ Jul 29, 2021 @ 1:56pm 
I know there are more people having similar problems. If you manage to track down the conflicting mod, would you mind posting it?
Laser Kiwi Jul 30, 2021 @ 10:02am 
Originally posted by Stariali:
I know there are more people having similar problems. If you manage to track down the conflicting mod, would you mind posting it?
The problem went away when I deleted one of my stockpile zones
Last edited by Laser Kiwi; Jul 30, 2021 @ 10:03am
Goddamn Lizard Sep 14, 2021 @ 7:51am 
I found a solution.
In my case I had dragons' descend mod installed but after transition to 1.3 I removed it.
It just happened that I got some dragonskin apparel lying around. It's material had been lost, so it was throwing that error all the time. To fix, remove all no-material items in your map.
atumbeast Dec 18, 2021 @ 4:55am 
Simply deleting stockpile zone worked for me
Araxiel Nov 15, 2022 @ 11:42am 
Necroing cause I googled for this error and found this thread. My colonists would sometimes just stand completely still and flash between two orders. It does seem to probably have something to do with some hauling mod and stockpiles, and/or some modded items.

I "fixed" it, by having a dumping stockpile that accepted everything.

My guess is, it has something to do with one of the hauling improvement mods, and the Fecal Sludge of Dubs Hygiene, because I had a dumping stockpile far away, intended exclusively for the Fecal Sludge, but for some reason it got never picked up. Setting that far away dumping stockpile to accept everything seems to have fixed the error and people hauling the fecal sludge away.
Last edited by Araxiel; Nov 15, 2022 @ 11:43am
Today I met with the same problem.
It all started with screen flashes. And with them came the lags.
The solution was this: first I removed parts of the map through the "clear" command. I wanted to understand which part of the map had the same thing that caused the flash on the screen. I found a problematic place in the warehouse. After that, he began to remove several racks. At the end, I found one rack that only had clothes on it. After that, he successfully removed everything that was on it and the shelving itself too.
nerd Sep 5, 2023 @ 12:35pm 
Currently having this issue and none of these fixes are working. The error still pops up even when my colonists are all idle.
Starman Oct 31, 2023 @ 1:11pm 
Maybe it will help someone. My interface was disappearing and my pawns were refusing to move through a certain area of the map when the camera was pointed at it, as if there was an invisible wall there. I turned on the dev mode, selected the "Clear area (rect)" tool and simply highlighted the problematic area of ​​the map with this tool. Problem solved.
SaltyBoi Nov 13, 2023 @ 3:21am 
restarting my game would take well over 15 minutes. I did some trial and error, and I have NO IDEA what's causing and it's driving me mad. However, the flashing stopped when i deleted/deconstructed the shelves that made up my main inventory, for some reason food/steel storage didn't cause the problem? (also if you dont wanna delete, forbidding items will temporarily solve the problem)
SaltyBoi Nov 13, 2023 @ 3:31am 
Originally posted by Cheet4h:
I think it's before that, generating the actual hauling job where the game checks whether an item can be moved to a stockpile with a higher priority. It seems as if the error happens when the game tries to access the item's "Smeltable" property, so maybe some mod created an item where neither "smeltable" nor "non-smeltable" is set.

yeah that makes way more sense than my first thought lol
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Jul 29, 2021 @ 9:52am
Posts: 13