Touched and TouchEnded events fire on equipment change

When a detector part attached to a character touches a touch part, equipping, unequipping, or changing equipment causes TouchEnded to fire and then Touched to fire again.

When it started happening: I just noticed this bug 1 hour ago on 2/6/2025 10 PM PST. A quick google search reveals that this bug has existed in the engine for over 6 years [ TouchEnded fires when you Equip/Unequip a tool ] [ Seems like equiping a tool triggers a part's touch ended event ] [ TouchEnded triggering after unequipping a tool? ].

Video: https://gyazo.com/08f2500352a1bae4043a34f1719c109d

Expected behavior

Changing equipment (equipping, unequipping, and equipment swapping) should not trigger touchEnded and touched events on parts parented to a character.

A private message is associated with this bug report

2 Likes

Thanks for reporting! This is something on our radar. I’ll update this thread once we have a more concrete plan. Thanks!

2 Likes

I’m just wondering if I should look for a work around in the near term or if this will be resolved within 6 - 12 months.

The fix for this is non-trivial.

In the meantime, you might try using GetPartsInPart.

Thanks for your understanding!

1 Like

thank you. i will go that route

This is a duplicate of Setting an object to Massless (or welding a part to HRP) fires .TouchEnded on any part you're in. For future discussion, please post in that thread. Thank you!

1 Like