CombatExtended-Continued / CombatExtended

Combat Extended mod for RimWorld
377 stars 254 forks source link

[Bug]: Cannot view caravan gear of some animals #3504

Closed JackofAllWorlds closed 1 week ago

JackofAllWorlds commented 1 week ago

Rimworld version: 1.5.4243 rev947 Combat Extended version: v1.5.6.1.0 Combat Extended source (Steam, GitHub, etc.): Steam Your operating system: Windows 10

image_2024-10-24_181543170

Your mod list:

(from log) Loading game from file AA Current with mods:

Description Elephants return from caravan with gear, but when you click on the gear tab no gear is visible.

Expected behavior What did you expect to happen? To be able to view the gear.

To reproduce Provide clear steps to reproduce the behavior. How do we make this happen? This started in this playthrough right about 2 weeks ago. No idea how to replicate it outside this game except to test under identical conditions and send elephants on a caravan.

Screenshots & log dumps Screenshot uploaded. Full log: https://gist.github.com/HugsLibRecordKeeper/4f67a0430c70e8df6e491caab1bb9732

Possible pertinent portion of player.log:

Exception filling tab CombatExtended.ITab_Inventory: System.NullReferenceException: Object reference not set to an instance of an object [Ref 47A3AA4F] at Verse.GenCollection.FirstOrDefault[T] (System.Collections.Generic.List1[T] list, System.Predicate1[T] predicate) [0x00000] in <2a40c3593b334f29ac3cb3d32d652351>:0 at CombatExtended.ITab_Inventory.RebuildArmorCache (System.Collections.Generic.Dictionary`2[TKey,TValue] armorCache, RimWorld.StatDef stat) [0x00020] in <1dc467c8c68f4c6cb3dd33c143973e2e>:0 at CombatExtended.ITab_Inventory.FillTab () [0x002b0] in <1dc467c8c68f4c6cb3dd33c143973e2e>:0 at Verse.InspectTabBase+<>c__DisplayClass19_0.b__0 () [0x00039] in <2a40c3593b334f29ac3cb3d32d652351>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Complete the following checklist I hereby verify that I have done the following:

N7Huntsman commented 1 week ago

Known issue, should be fixed in dev branch.