Search Issue Tracker
In Progress
Fixed in 3.0.6
Fix In Review for 2.6.4
Votes
13
Found in [Package]
2.5.2
Issue ID
XRIT-99
Regression
No
Unable to press buttons with XR Poke Interactor when a sub canvas is blocking them
Reproduction steps:
1. Open the attached project "UI_Tests_Poke.zip"
2. Open Assets > “UI tests” scene
3. In the Hierarchy enable “Canvas” > “Canvas Inherit”
4. Enter Play mode
5. In the Hierarchy select “Poke Interactor”
6. In the Scene view use the “Poke Interactor” to press the buttons
Expected result: “Button Inherit Canvas” can be pressed
Actual result: “Button Inherit Canvas” can’t be pressed
Reproduced with: 2021.3.32f1, 2022.3.14f1, 2023.1.20f1, 2023.2.1f1, 2023.3.0a15
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes: It is possible to press buttons using the mouse
-
ruben-ivre
Jun 25, 2024 13:04
We (myself and the company I work for, Engage) found a potential fix for this, by making some changes to TrackedDeviceGraphicRaycaster.s_InteractorRaycasters, converting it into a HashSet instead of a single reference to a raycaster. So far the results has been good, but not sure if this could have other side effects, so take it under your own responsibility.
https://gist.github.com/ruben-ivre/2808f2fe5a013ce9180dd056902d32e6
-
rgarand64
Jan 20, 2024 00:19
As of version 2021.3.24f1, XRIT 2.3.2: UI poking stops working randomly when two active canvas are too close.
-
PaoloPV
Jan 04, 2024 16:58
One of the interactions that Apple is going to introduce to Apple Vision Pro is being able to interact with your fingers like Poking. It's really a shame that we wont be able to have this on other devices alongside because of this bug, please fix it....please....
-
djrodriguez
Jan 04, 2024 13:12
I need this. Can't poke.
-
ericprovencher
Jan 03, 2024 22:51
Thanks for all the concern. It’s on our radar, unfortunately still no eta for the fix however.
-
davegreco
Jan 03, 2024 22:33
Well, it's that time of the year again. You know, moment where you're so close to launching a new feature only to realize that there is a bug in unity preventing you from doing what you need to or preventing it from working everywhere. (Cross-platform who?) ...oh shoot it's only January 3rd...well if we're lucky it will be fixed in the next release, or before the end of the new year, or maybe never... 🥹 here's to dreaming 🤞
-
trevor-hzd
Jan 03, 2024 22:27
It would be very helpful if you could fix this!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (fix version 3.0.6):
This fixes an issue with sorting of the canvas sort order and graphic depth properties. There was 2 issues happening here. The original fix was supposed to compare canvases up the chain to make sure drop-downs worked correctly. The fix assumed the blocking sub-canvas sorting order was always obeyed, but did not consider additional depth, so it would early out. This fix removes the original workaround and allows all raycast results comparing from the TrackedDeviceGraphicsRaycasters, but does an additional priority sort against the canvas sortOrder first before comparing depth.
Resolution Note (fix version 2.6.4):
This fixes an issue with sorting of the canvas sort order and graphic depth properties. There was 2 issues happening here. The original fix was supposed to compare canvases up the chain to make sure drop-downs worked correctly. The fix assumed the blocking sub-canvas sorting order was always obeyed, but did not consider additional depth, so it would early out. This fix removes the original workaround and allows all raycast results comparing from the TrackedDeviceGraphicsRaycasters, but does an additional priority sort against the canvas sortOrder first before comparing depth.