Repro steps:
- Download the Play Test the repro file:
touched-event-bug-repro.rbxl (60.3 KB) - Check the Output
- Touch both Red and Green parts with your character
Expected behavior:
Given that both parts have .CanTouch enabled, they should both print messages to the Output upon being touched
Actual behavior:
Only the Green part prints any messages
This issue appeared after the latest release, and affects places created prior to the update.
Enabling .CanCollide fixes the issue, allowing .Touched connections to fire, however it isn’t feasible for the usecase.
The Red part has it’s .Touched connection registered before .CanTouch is enabled, while the Green part registers after. Deleting the TouchInterests has no effect, and neither does attempting to re-register the Connections by disabling and enabling the RegisterTouchedEvents script.
The two important Scripts are in the Parts Model in the Workspace.
Frequency: Always
First experienced: November 15th, 2024