Cannot jump underwater when swimming is disabled

When disabling the Swimming HumanoidStateType via :SetStateEnabled(), the character is prevented from jumping when standing on the ground while submerged in terrain water.

As a developer, this isn’t behavior I expect, nor want. If I was developing my own swimming mechanics with default swimming behavior disabled, I could disable jumping while standing underwater myself with some simple code. This should not be a default, forced mechanic that I cannot disable.

This presumably started happening sometime around when jumping while swimming was disabled, but I only noticed it after this bug was fixed. About a month ago maybe.

This issue is also currently affecting my game, as I use terrain water for its appearance and I haven’t gotten around to implementing a swimming system that works with my custom characters yet. As a result, players are jumping into the water and getting stuck, requiring they reset, when previously I carefully designed the underwater spaces to be escapable by jumping.

Here’s a repro if needed: SwimmingDisabledJumpBug.rbxl (12.5 KB)

7 Likes