Skip to content

PokePointer and TouchableVolumes not working reliable in packed scenes #10530

@jloehr

Description

@jloehr

Describe the bug

NearInteractionTouchableVolume stops working in certain situations and set-ups. This is when the volume is touched and the hand is moved into a certain position, so that the PokePointer ray is hitting a different collider in the scene due to its massive range.

Below you can see the bug reproduced in the HandInteractionTouchablesExample scene. The bug change increases with the amount and size of colliders in the scene:

Unity_W5RubqpY32.mp4

To reproduce

Steps to reproduce the behavior:

  1. Open HandInteractionTouchablesExample scene.
  2. Move and look sideways on the object setup, as shown in the video above.
  3. Now move your hand and touch the center object. It should start spinning.
  4. While still touching the center object, move you hand, so that the ray from the center object, through your finger tip will hit one of the other two objects. The center object stops spinning.

Expected behavior

NearInteractionTouchableVolume works regardless of scene and unrelated collider set-ups. Especially a scene setup, where the NearInteractionTouchableVolume is enclosed by other colliders.

Your setup

Target platform (please complete the following information)

  • HoloLens 2
  • Any other platform with PokePointer support.

Additional context

I do have a fix in the workings, that I'll PR once I have finished some additional tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugWon't FixA real bug, but Triage feels that the issue is not impactful enough to spend time on

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions