Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create a variant of Spineling_morbusine #15242

Closed
2 tasks done
Regalis11 opened this issue Nov 23, 2024 Discussed in #15233 · 1 comment
Closed
2 tasks done

Unable to create a variant of Spineling_morbusine #15242

Regalis11 opened this issue Nov 23, 2024 Discussed in #15233 · 1 comment
Assignees
Labels
Bug Something isn't working Code Programming task Modding Modding-related feature request or issue, or a bug that only occurs with mods Ticket The issue has been converted into an issue report.

Comments

@Regalis11
Copy link
Collaborator

Discussed in #15233

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?

It seems the game tries to find ragdoll and animation files in wrong directory

Reproduction steps

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

‖color:#9370DB‖[Spineling_morbusine_m]‖color:end‖ [RagdollParams] Invalid directory: Content/Characters/Spineling_morbusine/Ragdolls/. Using the default ragdoll.
Couldn't load xml document "Content/Characters/Spineling_morbusine/Ragdolls/Spineling_morbusineDefaultRagdoll.xml"! {Could not find a part of the path 'D:\Steam\steamapps\common\Barotrauma\Content\Characters\Spineling_morbusine\Ragdolls\Spineling_morbusineDefaultRagdoll.xml'.}
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at Barotrauma.IO.File.Open(String path, FileMode mode, FileAccess access, Nullable`1 share, Boolean catchUnauthorizedAccessExceptions) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Utils\SafeIO.cs:line 540
   at Barotrauma.XMLExtensions.TryLoadXml(String filePath, Exception& exception) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Serialization\XMLExtensions.cs:line 112
‖color:#9370DB‖[Spineling_morbusine_m]‖color:end‖ [EditableParams] The document is null! Failed to load the parameters.
‖color:#9370DB‖[Spineling_morbusine_m]‖color:end‖ [RagdollParams] Failed to load ragdoll Spineling_morbusine Default Ragdoll from Content/Characters/Spineling_morbusine/Ragdolls/Spineling_morbusineDefaultRagdoll.xml for the character Spineling_morbusine_m.
@Regalis11 Regalis11 added Bug Something isn't working Code Programming task Modding Modding-related feature request or issue, or a bug that only occurs with mods Ticket The issue has been converted into an issue report. labels Nov 23, 2024
@Regalis11 Regalis11 self-assigned this Nov 23, 2024
@itchyOwl
Copy link
Collaborator

Reproduced the issue in FakeFishGames/Barotrauma-development#6047, where loading Spineling_morbusine_m throws this error.

Merged that branch locally to FakeFishGames/Barotrauma-development/#6050, and confirmed that it works after the fix.

@Rokvach Rokvach closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Code Programming task Modding Modding-related feature request or issue, or a bug that only occurs with mods Ticket The issue has been converted into an issue report.
Projects
None yet
Development

No branches or pull requests

3 participants