sprite tag in wearable tag is case sensitive #14517
Closed
BAB-Gaming
started this conversation in
Bug reports
Replies: 2 comments 2 replies
-
|
This took the entire #baro-modding channel all day to debug because nobody was aware case sensitivity mattered anywhere for XML tags. PS: it was the |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Thank you for the report! Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/5d6e74707c27f09db14e9a82454fdf613a5f3530 (commit in our private repo), fix coming up in the next update. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Disclaimers
What happened?
i have been working on a mod, then started getting an error whenever i tried to spawn in my custom job, and then got:
[Wizardry] Error while loading component of the type Barotrauma.Items.Components.Wearable. {Index was outside the bounds of the array.}
at Barotrauma.Items.Components.Wearable..ctor(Item item, ContentXElement element) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Items\Components\Wearable.cs:line 287
changed "<Sprite" to "<sprite", error stopped.
Reproduction steps
Use pascal casing on xml tags
Bug prevalence
Happens every time I play
Single player or multiplayer?
Happens in both single player and multiplayer
-
No response
Version
v1.5.9.1 (Summer Update Hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
Beta Was this translation helpful? Give feedback.
All reactions