This repository was archived by the owner on May 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
"Avali minigun turret" has invalid texture #97
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Building "Avali minigun turret" has invalid texture and emits error from its placement.
Exception in UIRootUpdate: System.ArgumentException: Illegal characters in path.
at System.IO.Path.Combine (System.String path1, System.String path2) [0x00057] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.ContentFinder`1[T].Get (System.String itemPath, System.Boolean reportFailure) [0x00150] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.Graphic_Single.Init (Verse.GraphicRequest req) [0x00050] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.GraphicDatabase.GetInner[T] (Verse.GraphicRequest req) [0x00072] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.GraphicDatabase.Get[T] (System.String path, UnityEngine.Shader shader, UnityEngine.Vector2 drawSize, UnityEngine.Color color) [0x0001c] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.PlaceWorker_TurretTop.DrawGhost (Verse.ThingDef def, Verse.IntVec3 loc, Verse.Rot4 rot, UnityEngine.Color ghostCol, Verse.Thing thing) [0x0003a] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper dynamic-method) Verse.GhostDrawer.Verse.GhostDrawer.DrawGhostThing_Patch0(Verse.IntVec3,Verse.Rot4,Verse.ThingDef,Verse.Graphic,UnityEngine.Color,Verse.AltitudeLayer,Verse.Thing,bool,Verse.ThingDef)
at RimWorld.Designator_Place.DrawGhost (UnityEngine.Color ghostCol) [0x00033] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Designator_Place.SelectedUpdate () [0x0006b] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper dynamic-method) RimWorld.Designator_Build.RimWorld.Designator_Build.SelectedUpdate_Patch2(RimWorld.Designator_Build)
at Verse.DesignatorManager.DesignatorManagerUpdate () [0x00013] in <81af9f8a18324e17b286924a43555a7c>:0
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceUpdate_Patch1(RimWorld.MapInterface)
at RimWorld.UIRoot_Play.UIRootUpdate () [0x00015] in <81af9f8a18324e17b286924a43555a7c>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
RimWorld.UIRoot_Play:UIRootUpdate ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()
To Reproduce
- Build "Avali minigun turret".
- See the appearance of its building.
Expected behavior
Expected
- "Avali minigun turret" shows with the correct texture.
Actual
- "Avali minigun turret" shows with error texture, which is pink square.
Versions:
- Game version: 1.3.3389
- Mod version: Eisu 1.3.0
Suggested fix
There is unexpected tabs and new lines at <texPath> in TurretDefs.xml (line: 281).
<texPath>RimValiFFA
/Buildings/Turrets/Avali_Turret_Brrt</texPath>
This should be:
<texPath>RimValiFFA/Buildings/Turrets/Avali_Turret_Brrt</texPath>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
