Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

Monsters classed as inside the submarine when outside, causing turrets to be unable to hit

Open NilanthAnimosus opened this issue 2 months ago • 0 comments

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/16581

Originally posted by NilanthAnimosus October 17, 2025

Disclaimers

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

What happened?

Originally reported in steam discussions (see: https://steamcommunity.com/app/602960/discussions/1/591784592221129960/ )

monsters can become stuck in a state where they are classed as inside the submarine when they shouldn't be.

image

Noticed it appears likely linked to limb/armour severing/breaking with that part inside a hull and the creature outside of the hull majoritively.

Once the part breaks (such as using a revolver or something on a mudraptor veterans skull that slightly protudes into an open door) it will forever be inside even if it enters and exits. teleport commands to the outside will momentarily move it outside until the creature re-enters the submarine, then it will become "Stuck inside" again, likely due to the removed/broken limb/armour piece.

Reproduction steps

  1. Launch subeditor (or any other test level)
  2. pick a dugong (Its pretty simple)
  3. turn off enemy and player AI
  4. teleport captain (and godmode/suit up) to airlock and open
  5. spawn mudraptor veteran (one with breakable armour)
  6. control mudraptor veteran
  7. activate debugdraw or debugai
  8. move creature into the doorway just enough that it turns light blue in debug mode
  9. control and shoot with captains revolver multiple times, preferably until a part breaks off
  10. repeat until creature is always classed as inside the submarine (Light blue in highlight colour)
  11. outside entities (IE. turret bases) have no collission for the mudraptor, alongside other expected issues like being unable to hit with turrets.
  12. Teleporting the mudraptor outside will only momentarily fix it, if they re-enter the submarine the issue continues and moving outside won't

Bug prevalence

Happens every time I play

Single player or multiplayer?

Single player

-

No response

Version

v1.10.7.1 (Autumn Update 2025 Hotfix 3)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

NilanthAnimosus avatar Oct 17 '25 05:10 NilanthAnimosus