Skip to content
This repository was archived by the owner on Apr 14, 2020. It is now read-only.
This repository was archived by the owner on Apr 14, 2020. It is now read-only.

CE renders headger as a pink box #1189

@Tourman36

Description

@Tourman36

I'm using CE along with BBB Body Support and Vanilla Apparel Expanded, and whenever a pawn using a BBB Body equips something in the head slot that is from VAE (this does not happen with vanilla gear), the game throws an exception and the headgear is drawn as a pink box.

The order of CE does not matter; I've tried all the way at the top and at the bottom. If I remove CE, the issue goes away.

Exception drawing Anna: System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at Verse.DamagedMatPool.GetDamageFlashMat (UnityEngine.Material baseMat, System.Single damPct) [0x0000a] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.DamageFlasher.GetDamagedMat (UnityEngine.Material baseMat) [0x00007] in <29684bdca4b441d38f64a3f064edc8ed>:0 at CombatExtended.HarmonyCE.Harmony_PawnRenderer_RenderPawnInternal.DrawHeadApparel (Verse.PawnRenderer renderer, UnityEngine.Mesh mesh, UnityEngine.Vector3 rootLoc, UnityEngine.Vector3 headLoc, UnityEngine.Vector3 headOffset, Verse.Rot4 bodyFacing, UnityEngine.Quaternion quaternion, System.Boolean portrait, System.Boolean& hideHair) [0x00098] in <51a637428c0449319bfa1366f15a6d64>:0 at (wrapper dynamic-method) Verse.PawnRenderer.DMD<DMD<RenderPawnInternal_Patch6>?2006386432::RenderPawnInternal_Patch6>(Verse.PawnRenderer,UnityEngine.Vector3,single,bool,Verse.Rot4,Verse.Rot4,Verse.RotDrawMode,bool,bool,bool) at (wrapper dynamic-method) Verse.PawnRenderer.DMD<DMD<RenderPawnAt_Patch0>?1091714432::RenderPawnAt_Patch0>(Verse.PawnRenderer,UnityEngine.Vector3,Verse.RotDrawMode,bool,bool) at Verse.PawnRenderer.RenderPawnAt (UnityEngine.Vector3 drawLoc) [0x0002b] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.Pawn_DrawTracker.DrawAt (UnityEngine.Vector3 loc) [0x00000] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.Pawn.DrawAt (UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x00006] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.Thing.Draw () [0x00007] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.ThingWithComps.Draw () [0x00000] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.DynamicDrawManager.DrawDynamicThings () [0x000d8] in <29684bdca4b441d38f64a3f064edc8ed>:0

Modlist:
` - brrainz.harmony

  • Ludeon.RimWorld
  • Ludeon.RimWorld.Royalty
  • UnlimitedHugs.HugsLib
  • CETeam.CombatExtended
  • erdelf.HumanoidAlienRaces
  • ssulunge.BBBodySupport
  • ssulunge.BBBodyHuman
  • velc.HatsDisplaySelection
  • Ryflamer.HDPawnTextures.HAR
  • ssulunge.KijinRace2
  • Atlas.AndroidTiers
  • aRandomKiwi.AndroidTiersTXSerie
  • Xeva.XevaFBpack.11
  • Nals.FacialAnimation
  • smashphil.boats
  • notfood.MendAndRecycle
  • telefonmast.graphicssettings
  • LingLuo.LovelyHairStyle
  • Rooboid127.RooOsHAccessoryHHairstyles
  • Ogre.OgreStack
  • Dubwise.DubsBreakMod
  • Dubwise.DubsBadHygiene
  • Uuugggg.TDPack
  • avilmask.GrazingLands
  • SoulfulPumpkin.TabletopTrove
  • Uuugggg.UseBedrolls
  • Uuugggg.EverybodyGetsOne
  • Krafs.LevelUp
  • Cocaine.ElectricStonecuttingTable
  • Murmur.WallLight
  • Murmur.UVWallLight
  • pelador.brrrandphew
  • kikohi.cybernetic
  • Rah.RBSE
  • pelador.drugresponse
  • pelador.medicalsupplements
  • automatic.bionicicons
  • Proxyer.DESurgeries.DESurgeriesColor
  • Proxyer.DESurgeries.KijinPatch
  • dismarzero.VGP.VGPVegetableGarden
  • dismarzero.VGP.VGPGardenCanning
  • dismarzero.VGP.VGPGardenFabrics
  • fluffy.fluffybreakdowns
  • fluffy.pharmacist
  • fluffy.medicaltab
  • fluffy.researchtree
  • fluffy.blueprints
  • fluffy.worktab
  • fluffy.spatialpriorities
  • VanillaExpanded.VARME
  • HALO.RSF
  • VanillaExpanded.VCEF
  • VanillaExpanded.VAPPE
  • VanillaExpanded.VTEXE
  • VanillaExpanded.VHE
  • VanillaExpanded.VAETR
  • VanillaExpanded.VAEIS
  • VanillaExpanded.VAEAU
  • VanillaExpanded.VAEBF
  • VanillaExpanded.VAET
  • VanillaExpanded.VAEED
  • VanillaExpanded.VAED
  • VanillaExpanded.VAECD
  • VanillaExpanded.VAETS
  • VanillaExpanded.VAEAS
  • VanillaExpanded.VFECore
  • VanillaExpanded.VFEProduction
  • VanillaExpanded.VFESecurity
  • VanillaExpanded.VFEMedical
  • VanillaExpanded.VFEFarming
  • VanillaExpanded.VFEArt
  • VanillaExpanded.VFESpacer
  • VanillaExpanded.VWE
  • VanillaExpanded.VWEQ
  • VanillaExpanded.VWEL
  • zodgilla.vanillameleeretexture
  • syrchalis.setupcamp
  • syrchalis.prosthetictable
  • kikohi.jewelry
  • notfood.Outfitted
  • Techmago.BootsnStuff
  • PeteTimesSix.SimpleSidearms
  • Sandy.RPGStyleInventory
  • Jaxe.RimHUD
  • RadZerp.wallCorners
  • Jaxe.PawnRules
  • Shotgunfrenzy.PriorityTreatment
  • Jaxe.Bubbles
  • Community.Psychology.UnofficialUpdate
  • mobius.royaltytweaks
  • neceros.oreyields
  • nephlite.orbitaltradecolumn
  • LWM.DeepStorage
  • JangoDsoul.SimplyStorage
  • aRandomKiwi.PowerPP
  • BiomesTeam.BiomesCore
  • BiomesTeam.BiomesIslands
  • changedresser.kv.rw
  • Dubwise.DubsPerformanceAnalyzer`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions