Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
When Receiving or Losing Items it runs into a NullReferenceException.
Excerpt from my Log [gist.github.com]
The building in Question was a pallet from the Basic Storage mod that, at the time, allowed buildings to be stored on it.
Without ASF and with only ASF i can haul minified things into storage zone. If i install any mod thats is using ASF (Tested: ASF:Neolithic and Phaneron's basic storage and Reel Storage).
Then i can see [~] instead checkmark next to Building/Misc, and even if i [allow all] MinifiedThings aren't compatible with storage. And can't be stored anywhere
I think it is problem with ASF because even Neolithic mod made by You is causing this problem.
I see you are using transpiler, so I let myself look for the cause of the error. I found that MaxItemsForCell in ThingClass accesses the array index without checking validity in any way. This is the problem.
The incompatibility occurs when calling vanilla method GenPlace.TryPlaceThing(item, Cell, map, ThingPlaceMode.Direct). This is weird
RimWorld.Building_Storage.AllSlotsCells() is set up to return an empty collection when accessed before spawning
(No log because game froze)
When the meals are created or the save is loaded with an affected meal on map, the following is a meal made with Eel from Vanilla Fishing Expanded:
And then when the meal itself is selected and the info button is pressed it spams the following to the log, again this is the fine meal containing Eel:
If there's something else going on please let me know and I'll make a report with whatever mod I need to. :)
Thanks so much for making great mods and sharing them for us to enjoy.
Invalid count: -1, setting to 1. Job was HaulToInventory (Job_342338) A = Thing_BlocksMarble478497 B = (147, 0, 94) Giver = JobGiver_Work [workGiverDef: HaulToInventory]
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.AI.Toils_Haul:ErrorCheckForCarry (Verse.Pawn,Verse.Thing,bool)
PickUpAndHaul.JobDriver_HaulToInventory/<>c__DisplayClass1_0:<MakeNewToils>b__2 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.PatherTick_Patch3 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
The System.IndexOutOfRangeException at Verse.Graphic_MealVariants for MealFine1511697 is caused by retextures for meals. Rimworld expects a fixed amount of graphics there, if a retexture is outdated or the folder contains more files than it should after an update it throws this. Again, nothing to do with storage or even hauling. It's a retexture and throws without this mod too.
The storage linking freeze is a known performance fish bug at the moment. Doesn't happen with only adaptive storage, is not in any way relevant to adaptive storage
Thanks so much for the help in figuring this out, even though it wasn't caused by your mod! I'll have to try re-verifying my mods and such, I guess, see if that helps at all.
Yo Bradson thank you so much! After your comment I went hunting thru my mod list because I use very few retextures... but I DO use Vanilla Textures Expanded which includes new meal textures. Using their built-in option to disable the meal textures fixed the issue and the bugged meals are now appearing properly.
Thanks so much for helping me figure out the root cause and fix my issue!