Monsters classed as inside the submarine when outside, causing turrets to be unable to hit
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.
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
- Launch subeditor (or any other test level)
- pick a dugong (Its pretty simple)
- turn off enemy and player AI
- teleport captain (and godmode/suit up) to airlock and open
- spawn mudraptor veteran (one with breakable armour)
- control mudraptor veteran
- activate debugdraw or debugai
- move creature into the doorway just enough that it turns light blue in debug mode
- control and shoot with captains revolver multiple times, preferably until a part breaks off
- repeat until creature is always classed as inside the submarine (Light blue in highlight colour)
- outside entities (IE. turret bases) have no collission for the mudraptor, alongside other expected issues like being unable to hit with turrets.
- 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