Av3Emulator icon indicating copy to clipboard operation
Av3Emulator copied to clipboard

Contacts Emulation: Contact option "Allow Others" not behaving as intended while "Allow Self" is unchecked

Open EasyMochi opened this issue 1 year ago • 3 comments

Description

Hello!

Contacts set to "Allow Others" while "Allow Self" is unchecked do not behave as expected in play mode

Reproduction Steps

  1. Setup a new contact on an empty gameobject
  2. Uncheck "Allow Self" and check "Allow Others"
  3. Enter play mode

Expected Behaviour

The contact should only get triggered by senders outside of the current avatar's hierarchy.

Actual Behaviour

The contact gets triggered by both senders on the current avatar's hierarchy and outside of it.

Known Workarounds

None

EasyMochi avatar Sep 10 '23 10:09 EasyMochi

I don't think there's much we can do about this, since usually "Allow Others Disabled" contacts get deleted on remote machines and "Allow Self Disabled" contacts get deleted on the local machine, but because we're both in one, we don't get that luxury, and we don't have any control about the internal working of contacts, so while we'd love to implement this, I don't see this happening any time soon.

jellejurre avatar Sep 15 '23 15:09 jellejurre

Wouldn't it be possible to disable the contact script at runtime provided we have a way to tell which box is ticked? As a workaround? Because that's pretty much what I'm currently doing~ It is very hacky, though.

EasyMochi avatar Sep 28 '23 10:09 EasyMochi

some users might want to test contacts with "allow self" disabled, so this would hinder their workflow

jellejurre avatar Sep 28 '23 11:09 jellejurre