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