BuoyancySensor parented to HumanoidRootPart causes crash when changing properties

In Studio, a BuoyancySensor that is parented to a player’s HumanoidRootPart will cause an immediate crash when changing either its FullySubmerged or TouchingSurface properties.

I first found this bug around 2 weeks ago, and with the release of the new HumanoidController I tried it again today (3/10/2023 12PM AEDT) and it’s still happening. It appears to be 100% consistent and I can’t get this to work in a live game.

Reproduction steps:

  • Add a BuoyancySensor to a player’s HumanoidRootPart
  • Attempt to change either the sensor’s FullySubmerged or TouchingSurface properties

Recording in Studio:

Reproduction files:

Place file:
crashreport.rbxl (52.6 KB)
Script to place sensor in rootpart (place in ServerScriptService):
AttachSensor.lua (317 Bytes)

Crash report:

https://devforum.roblox.com/t/buoyancysensor-crash-report/2628643

1 Like

We’ve filed a ticket into our internal database for this issue, and we will update you when we have further information!

Thanks for the report!

2 Likes

This issue should be resolved.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.