Barotrauma

Barotrauma

View Stats:
Multiple crashes due to creature ragdolls?
Friend was running pure vanilla and got this crash. I later got a similar crash running Into the Abyss but with a mudraptor. There seems to be some issue with monster ragdolls and the game crashing?

Game version 0.14.9.1 (ReleaseWindows, branch release, revision df0088ca33) Graphics mode: 3840x2160 (Fullscreen) VSync ON Language: English Selected content packages: Vanilla 0.9 Level seed: Minos LineaAnnwn Loaded submarine: R-29 (794CFA38C82CBCD88C498726872788B5) Selected screen: Barotrauma.GameScreen SteamManager initialized Client (Round had started) System info: Operating system: Microsoft Windows NT 10.0.19042.0 64 bit GPU name: NVIDIA GeForce GTX 1080 Display mode: {Width:1920 Height:1080 Format:Color AspectRatio:1.7777778} GPU status: Normal Exception: Object reference not set to an instance of an object. (System.NullReferenceException) Target site: Void CheckDistFromCollider() Stack trace: at Barotrauma.Ragdoll.CheckDistFromCollider() in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Animation\Ragdoll.cs:line 1662 at Barotrauma.Ragdoll.Update(Single deltaTime, Camera cam) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Animation\Ragdoll.cs:line 1110 at Barotrauma.Ragdoll.UpdateAll(Single deltaTime, Camera cam) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Animation\Ragdoll.cs:line 902 at Barotrauma.GameScreen.Update(Double deltaTime) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Screens\GameScreen.cs:line 277 at Barotrauma.GameMain.Update(GameTime gameTime) in <DEV>\Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 962 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) in <DEV>\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 656 at Microsoft.Xna.Framework.Game.Tick() in <DEV>\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 500 at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in <DEV>\Libraries\MonoGame.Framework\Src\MonoGame.Framework\SDL\SDLGamePlatform.cs:line 92 at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in <DEV>\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 397 at Microsoft.Xna.Framework.Game.Run() in <DEV>\Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 367 at Barotrauma.Program.Main(String[] args) in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Program.cs:line 58 Last debug messages: [9/21/2021 10:02:14 PM] Attempted to check the validity of a potentially removed ragdoll. Character: Tigerthresher, id: 2139, removed: False, ragdoll removed: False [9/21/2021 10:02:14 PM] Failed to read event for entity "EntitySpawner"! {[RagdollParams] Failed to load ragdoll Tigerthresher Default Ragdoll from Content/Characters/Tigerthresher/Ragdolls/TigerthresherDefaultRagdoll.xml for the character Tigerthresher.} at Barotrauma.RagdollParams.GetRagdollParams[T](String speciesName, String fileName) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Params\Ragdoll\RagdollParams.cs:line 187 at Barotrauma.FishAnimController.get_FishRagdollParams() in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Animation\FishAnimController.cs:line 31 at Barotrauma.Ragdoll..ctor(Character character, String seed, RagdollParams ragdollParams) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Animation\Ragdoll.cs:line 414 at Barotrauma.Character..ctor(CharacterPrefab prefab, String speciesName, Vector2 position, String seed, CharacterInfo characterInfo, UInt16 id, Boolean isRemotePlayer, RagdollParams ragdollParams) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Character.cs:line 1157 at Barotrauma.Character.Create(String speciesName, Vector2 position, String seed, CharacterInfo characterInfo, UInt16 id, Boolean isRemotePlayer, Boolean hasAi, Boolean createNetworkEvent, RagdollParams ragdoll) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Character.cs:line 989 at Barotrauma.Character.ReadSpawnData(IReadMessage inc) in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Characters\CharacterNetworking.cs:line 481 at Barotrauma.EntitySpawner.ClientRead(ServerNetObject type, IReadMessage message, Single sendingTime) in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Networking\EntitySpawner.cs:line 37 at Barotrauma.Networking.ClientEntityEventManager.Read(ServerNetObject type, IReadMessage msg, Single sendingTime, List`1 entities) in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Networking\NetEntityEvent\ClientEntityEventManager.cs:line 239 [9/21/2021 10:02:14 PM] Failed to spawn character Tigerthresher {[RagdollParams] Failed to load ragdoll Tigerthresher Default Ragdoll from Content/Characters/Tigerthresher/Ragdolls/TigerthresherDefaultRagdoll.xml for the character Tigerthresher.} at Barotrauma.RagdollParams.GetRagdollParams[T](String speciesName, String fileName) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Params\Ragdoll\RagdollParams.cs:line 187 at Barotrauma.FishAnimController.get_FishRagdollParams() in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Animation\FishAnimController.cs:line 31 at Barotrauma.Ragdoll..ctor(Character character, String seed, RagdollParams ragdollParams) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Animation\Ragdoll.cs:line 414 at Barotrauma.Character..ctor(CharacterPrefab prefab, String speciesName, Vector2 position, String seed, CharacterInfo characterInfo, UInt16 id, Boolean isRemotePlayer, RagdollParams ragdollParams) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Character.cs:line 1157 at Barotrauma.Character.Create(String speciesName, Vector2 position, String seed, CharacterInfo characterInfo, UInt16 id, Boolean isRemotePlayer, Boolean hasAi, Boolean createNetworkEvent, RagdollParams ragdoll) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Characters\Character.cs:line 989 at Barotrauma.Character.ReadSpawnData(IReadMessage inc) in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Characters\CharacterNetworking.cs:line 481 [9/21/2021 10:02:14 PM] Couldn't load xml document "Content/Characters/Tigerthresher/Ragdolls/TigerthresherDefaultRagdoll.xml"! {The process cannot access the file 'C:\SteamLibrary\steamapps\common\Barotrauma\Content\Characters\Tigerthresher\Ragdolls\TigerthresherDefaultRagdoll.xml' because it is being used by another process.} at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at Barotrauma.IO.File.Open(String path, FileMode mode, FileAccess access) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Utils\SafeIO.cs:line 329 at Barotrauma.XMLExtensions.TryLoadXml(String filePath) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Serialization\XMLExtensions.cs:line 69
Originally posted by Dynamoon:
Hi! Without going into the technical specifics as those aren't my expertise, I believe your crashes were likely related to a known issue, which will be addressed in the next update.

If you'd like to, you can read more about the issue here: https://github.com/Regalis11/Barotrauma/issues/6627
< >
Showing 1-1 of 1 comments
The author of this thread has indicated that this post answers the original topic.
Dynamoon  [developer] Sep 22, 2021 @ 10:21am 
Hi! Without going into the technical specifics as those aren't my expertise, I believe your crashes were likely related to a known issue, which will be addressed in the next update.

If you'd like to, you can read more about the issue here: https://github.com/Regalis11/Barotrauma/issues/6627
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Sep 22, 2021 @ 1:00am
Posts: 1