peterhaneve / ONIMods

Peter Han's mods for Oxygen Not Included
Other
312 stars 64 forks source link

Fast track + Sweepn't, wrangling crash #463

Closed Emily-Beez closed 5 months ago

Emily-Beez commented 5 months ago

Expected Behavior

A wrangled critter falling into a sweepn't spot shouldn't cause a crash DLC installed, no preview

Current Behavior

Wrangled critter falling into sweepn't spot causes a crash almost instantly

Mod Versions

Fast track is up to date as of time of writing, Fast Track Beta - 0.13.4.0 Sweepn't is up to date since the Apr 3 release, using mod updater

Steps to Reproduce

  1. Place sweepn't designation
  2. It might need to be submerged in water, may be unrelated
  3. Wrangle critter above that spot
  4. Critter falls in, game crashes

Notes

I'm not sure if fast track and sweepn't are strictly incompatible, however, I have been using both with no issues until this edge case

Output Log

Player.log

peterhaneve commented 5 months ago

Please file this issue against the other mod, as the last crashing line is inside their code.

KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at IgnoreFetch.IgnoreFetchUtils.isFetchAllowed (Pickupable pickup, System.String chore, IgnoreFetch.IgnoreStore ignoreStore, System.Boolean isArm) [0x00026] in <1a548514f11e4ca4bcb13f9085ce0598>:0 
  at IgnoreFetch.FetchManagerPatches+FetchManager_FindFetchTarget_Patches.Postfix (Storage destination, FetchChore chore, System.Collections.Generic.List`1[T] ___pickups, Pickupable& __result) [0x00045] in <1a548514f11e4ca4bcb13f9085ce0598>:0