Search Issue Tracker

Fixed

Fixed in 2.5.4, 3.0.0

Votes

4

Found in [Package]

3.0.0-pre.1

Issue ID

XRIT-142

Regression

No

IsPokeInteractingWithUI() stuck on True when poking a Button that gets destroyed

Package: XR Interaction Toolkit

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/BugScene.unity” Scene
3. Enter the Play Mode
4. Click on Game view and use the Mouse to turn towards the “Break UI Button” sample
5. Double-click “Tab” key
6. Press “R” key
7. Use the Mouse and scroll wheel to poke the Button with the text “Press Here”

Expected result: The ray is present
Actual result: The ray coming from the controller disappears

Reproducible with: 2.5.2 (2022.3.20f1), 3.0.0-pre.1 (2021.3.35f1, 2022.3.20f1, 2023.2.11f1, 2023.3.0b8)

Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Reproducible with Windows Standalone and Android Players
- Reproducible when poking with the Oculus controller and Hand

  1. Resolution Note (fix version 3.0.0):

    Fixed `TrackedGraphicRaycaster` to clear poke interaction data when disabled.

  2. Resolution Note (fix version 2.5.4):

    Fixed `TrackedGraphicRaycaster` to clear poke interaction data when disabled.

Add comment

Log in to post comment