RecompiledBirds / RimVali

The RimVali: Far From Avalon code repository.
https://discord.gg/RpCM3RU
9 stars 17 forks source link

"missing textures" #82

Closed nightmarish-warlord closed 2 years ago

nightmarish-warlord commented 2 years ago

Describe the bug some Avali clothing are missing textures, when avail put them on they go invisible

To Reproduce Steps to reproduce the behavior: with the current steam version, the avali Bell Cloaks, thermal wraps, HUD, avail traditional headdress, was leading to such a issue

(Optional, for modders) Suggested fix looking though file names saw inconsistent capitals, "ThermalWraps_Avali_East.png" "ThermalWraps_Avali_north.png" "ThermalWraps_Avali_south.png" perhaps its worth checking that its all properly capitalized? also in RimVali\1.3\Defs\Apparel\ApparelBody.xml "line 206 avali/Things/Apparel/AvaliHeaddress/Headress" is missing a d 'line 118 avali/Things/Apparel/HUD/hud" is using lowercase

ghost commented 2 years ago

Right. So... I'm getting this exact same issue. Except both the clothing AND buildings are either invisible or show a red X. I also get the following errors in the console:

Failed to find any textures at avali/Buildings/Production/AvaliResearchTable while constructing Multi(initPath=avali/Buildings/Production/AvaliResearchTable, color=RGBA(0.412, 0.412, 0.412, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000)) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.Graphic_Multi:Init (Verse.GraphicRequest) Verse.GraphicDatabase:GetInner (Verse.GraphicRequest) Verse.GraphicDatabase:Get (string,UnityEngine.Shader,UnityEngine.Vector2,UnityEngine.Color,UnityEngine.Color,Verse.GraphicData,string) Verse.Graphic_Multi:GetColoredVersion (UnityEngine.Shader,UnityEngine.Color,UnityEngine.Color) Verse.GraphicData:GraphicColoredFor (Verse.Thing) (wrapper dynamic-method) Verse.Thing:Verse.Thing.get_DefaultGraphic_Patch1 (Verse.Thing) (wrapper dynamic-method) Verse.Thing:Verse.Thing.get_Graphic_Patch2 (Verse.Thing) Verse.Thing:Print (Verse.SectionLayer) (wrapper dynamic-method) Verse.ThingWithComps:Verse.ThingWithComps.Print_Patch1 (Verse.ThingWithComps,Verse.SectionLayer) Verse.SectionLayer_ThingsGeneral:TakePrintFrom (Verse.Thing) (wrapper dynamic-method) Verse.SectionLayer_Things:Verse.SectionLayer_Things.Regenerate_Patch0 (Verse.SectionLayer_Things) (wrapper dynamic-method) Verse.Section:Verse.Section.RegenerateLayers_Patch1 (Verse.Section,Verse.MapMeshFlag) Verse.MapDrawer:TryUpdateSection (Verse.Section) Verse.MapDrawer:MapMeshDrawerUpdate_First () (wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch4 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game) Verse.Root_Play:Update ()

Exception printing AvaliNanoLoom239085 at (84, 0, 117): System.NullReferenceException: Object reference not set to an instance of an object at Verse.Graphic+AtlasReplacementInfoCacheKey..ctor (UnityEngine.Material mat, Verse.TextureAtlasGroup group, System.Boolean flipUv, System.Boolean vertexColors) [0x0001d] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Graphic.TryGetTextureAtlasReplacementInfo (UnityEngine.Material mat, Verse.TextureAtlasGroup group, System.Boolean flipUv, System.Boolean vertexColors, UnityEngine.Material& material, UnityEngine.Vector2[]& uvs, UnityEngine.Color32& vertexColor) [0x00028] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.Graphic.Verse.Graphic.Print_Patch0(Verse.Graphic,Verse.SectionLayer,Verse.Thing,single) at Verse.Thing.Print (Verse.SectionLayer layer) [0x00006] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Print_Patch1(Verse.ThingWithComps,Verse.SectionLayer) at Verse.SectionLayer_ThingsGeneral.TakePrintFrom (Verse.Thing t) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.SectionLayer_ThingsGeneral:TakePrintFrom (Verse.Thing) (wrapper dynamic-method) Verse.SectionLayer_Things:Verse.SectionLayer_Things.Regenerate_Patch0 (Verse.SectionLayer_Things) (wrapper dynamic-method) Verse.Section:Verse.Section.RegenerateLayers_Patch1 (Verse.Section,Verse.MapMeshFlag) Verse.MapDrawer:TryUpdateSection (Verse.Section) Verse.MapDrawer:MapMeshDrawerUpdate_First () (wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch4 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game) Verse.Root_Play:Update ()

Exception printing AvaliBFG239089 at (90, 0, 117): System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in :0 at Verse.StaticTextureAtlas.TryGetTile (UnityEngine.Texture texture, Verse.StaticTextureAtlasTile& tile) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.GlobalTextureAtlasManager.TryGetStaticTile (Verse.TextureAtlasGroup group, UnityEngine.Texture2D texture, Verse.StaticTextureAtlasTile& tile, System.Boolean ignoreFoundInOtherAtlas) [0x00023] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Graphic.TryGetTextureAtlasReplacementInfo (UnityEngine.Material mat, Verse.TextureAtlasGroup group, System.Boolean flipUv, System.Boolean vertexColors, UnityEngine.Material& material, UnityEngine.Vector2[]& uvs, UnityEngine.Color32& vertexColor) [0x0006d] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.Graphic.Verse.Graphic.Print_Patch0(Verse.Graphic,Verse.SectionLayer,Verse.Thing,single) at Verse.Thing.Print (Verse.SectionLayer layer) [0x00006] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Print_Patch1(Verse.ThingWithComps,Verse.SectionLayer) at Verse.SectionLayer_ThingsGeneral.TakePrintFrom (Verse.Thing t) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.SectionLayer_ThingsGeneral:TakePrintFrom (Verse.Thing) (wrapper dynamic-method) Verse.SectionLayer_Things:Verse.SectionLayer_Things.Regenerate_Patch0 (Verse.SectionLayer_Things) (wrapper dynamic-method) Verse.Section:Verse.Section.RegenerateLayers_Patch1 (Verse.Section,Verse.MapMeshFlag) Verse.MapDrawer:TryUpdateSection (Verse.Section) Verse.MapDrawer:MapMeshDrawerUpdate_First () (wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch4 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game) Verse.Root_Play:Update ()

Could not load UnityEngine.Texture2D at avali/Buildings/Turrets/Avali_Turret_Base_2x2 in any active mod or in base resources. UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.ContentFinder`1:Get (string,bool) Verse.Graphic_Single:Init (Verse.GraphicRequest) Verse.GraphicDatabase:GetInner (Verse.GraphicRequest) Verse.GraphicDatabase:Get (string,UnityEngine.Shader,UnityEngine.Vector2,UnityEngine.Color,UnityEngine.Color,Verse.GraphicData,string) Verse.Graphic_Single:GetColoredVersion (UnityEngine.Shader,UnityEngine.Color,UnityEngine.Color) Verse.GraphicData:GraphicColoredFor (Verse.Thing) (wrapper dynamic-method) Verse.Thing:Verse.Thing.get_DefaultGraphic_Patch1 (Verse.Thing) (wrapper dynamic-method) Verse.Thing:Verse.Thing.get_Graphic_Patch2 (Verse.Thing) Verse.Thing:Print (Verse.SectionLayer) (wrapper dynamic-method) Verse.ThingWithComps:Verse.ThingWithComps.Print_Patch1 (Verse.ThingWithComps,Verse.SectionLayer) Verse.SectionLayer_ThingsGeneral:TakePrintFrom (Verse.Thing) (wrapper dynamic-method) Verse.SectionLayer_Things:Verse.SectionLayer_Things.Regenerate_Patch0 (Verse.SectionLayer_Things) (wrapper dynamic-method) Verse.Section:Verse.Section.RegenerateLayers_Patch1 (Verse.Section,Verse.MapMeshFlag) Verse.MapDrawer:TryUpdateSection (Verse.Section) Verse.MapDrawer:MapMeshDrawerUpdate_First () (wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch4 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game) Verse.Root_Play:Update ()

Exception printing Aerial239098 at (94, 0, 115): System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in :0 at Verse.StaticTextureAtlas.TryGetTile (UnityEngine.Texture texture, Verse.StaticTextureAtlasTile& tile) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.GlobalTextureAtlasManager.TryGetStaticTile (Verse.TextureAtlasGroup group, UnityEngine.Texture2D texture, Verse.StaticTextureAtlasTile& tile, System.Boolean ignoreFoundInOtherAtlas) [0x00023] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Graphic.TryGetTextureAtlasReplacementInfo (UnityEngine.Material mat, Verse.TextureAtlasGroup group, System.Boolean flipUv, System.Boolean vertexColors, UnityEngine.Material& material, UnityEngine.Vector2[]& uvs, UnityEngine.Color32& vertexColor) [0x0006d] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.Graphic.Verse.Graphic.Print_Patch0(Verse.Graphic,Verse.SectionLayer,Verse.Thing,single) at Verse.Thing.Print (Verse.SectionLayer layer) [0x00006] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Print_Patch1(Verse.ThingWithComps,Verse.SectionLayer) at Verse.SectionLayer_ThingsGeneral.TakePrintFrom (Verse.Thing t) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.SectionLayer_ThingsGeneral:TakePrintFrom (Verse.Thing) (wrapper dynamic-method) Verse.SectionLayer_Things:Verse.SectionLayer_Things.Regenerate_Patch0 (Verse.SectionLayer_Things) (wrapper dynamic-method) Verse.Section:Verse.Section.RegenerateLayers_Patch1 (Verse.Section,Verse.MapMeshFlag) Verse.MapDrawer:TryUpdateSection (Verse.Section) Verse.MapDrawer:MapMeshDrawerUpdate_First () (wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch4 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game) Verse.Root_Play:Update ()

These are a few examples of the issues I'm facing.