FakeFishGames/Barotrauma

Character variant that inherits creature in another mod will try to find its sprite from wrong mod

Regalis11 opened this issue · 1 comments

Discussed in #15235

Originally posted by A2ur3 November 23, 2024

Disclaimers

  • I have searched the issue tracker to check if the issue has already been reported.
  • My issue happened while using mods.

What happened?

mod A creates a new character which sprite path uses %ModDir%
mod B creates a variant of that character
game tries to find sprite in mod B instead of mod A

Reproduction steps

  1. download mod "Chimera Remake"
  2. try to create a variant of Chimera_head in a separate mod

Bug prevalence

Just once

Single player or multiplayer?

Single player

-

No response

Version

v1.6.19.1 (Unto the Breach Update Hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

Tested with this definition set in a custom mod:

Before the fix throws this error:
image

After the fix loads the character correctly.