Part's Touched event fails to fire for Terrain after touching water

When a Part touches smooth terrain water the touch event will not fire for any future touches to terrain.

  1. Bind Touch event to part
  2. Touch part to water (touch event will fire once)
  3. Try touching part to other terrain materials or water (touch event will not fire)
    Touch event will still fire for normal non-terrain parts

This occurs in studio and both of my live experiences
I have not published any updates to either experience for a while prior to this issue
15514848643
15383745583
First report of this issue showing up was on August 28th

This file reproduces the bug. Play in “Run” mode. File will automatically demonstrate the bug by dropping a part on different things in sequence. Output window contains explanation for each step and shows the bug.
repro.rbxl (54.1 KB)

Output from running the file:
(since the part bounces and triggers multiple touch events, I’ve trimmed this text to show a maximum of 1)

  Confirming that part can be touched
    Test part touched Part
  Confirming that ground can be touched
    Test part touched Terrain
  Confirming that part can still be touched
    Test part touched Part
  Confirming that ground can still be touched
    Test part touched Terrain
  Touching water
    Test part touched Terrain
  Showing that ground terrain can't be touched
  Showing that parts can be touched
    Test part touched Part
  Showing that ground terrain can't be touched again
  Showing that water also can't be touched again

Expected behavior

The touched event should continue to detect touches on terrain even after touching water

In the provided reproduction file, this should be the expected output when the bug is fixed:
(as above, duplicate touches have been trimmed)

  Confirming that part can be touched
    Test part touched Part
  Confirming that ground can be touched
    Test part touched Terrain
  Confirming that part can still be touched
    Test part touched Part
  Confirming that ground can still be touched
    Test part touched Terrain
  Touching water
    Test part touched Terrain
  Showing that ground terrain can't be touched
    Test part touched Terrain
  Showing that parts can be touched
    Test part touched Part
  Showing that ground terrain can't be touched again
    Test part touched Terrain
  Showing that water also can't be touched again
    Test part touched Terrain

Hi! Thank you for reporting this issue and providing a repro file. We’ve documented this issue, and will get back to you once we’ve made progress on it.

2 Likes

Hi, this should be fixed now. Let us know if there are still problems!

2 Likes

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