Search Issue Tracker
Active
Votes
0
Found in [Package]
0.7.1-exp.0
Issue ID
PSLB-312
Regression
No
Two-handed input in visionOS VR builds does not report second hand releasing the pinch
As reported on [Discussions|https://discussions.unity.com/t/how-to-use-new-vision-inputs-from-beta-0-5-0/309343/23], there is an issue with gaze/pinch input in virtual reality (CompositorServices, in Apple parlance), where the second pinch is not reported as ended until the first pinch has ended. So for example, the following sequence of events occurs:
# Pinch index finger and thumb on left hand
# Observe `Began` and `Moved` events from SpatialPointerDevice pointer #0
# Pinch index finger and thumb on right hand
# Observe `Began` and `Moved` events from pointer #1, and continued `Moved` events from pointer #0
# Release pinch on right hand
# Observe `Moved` events from pointer #0, but no expected `Ended` event from pointer #1
# Release pinch on left hand
# Observe `Ended` events from both pointers
The expected behavior is that the `Ended` event will be sent at step #6, but it is not. This issue can be replicated in a Swift app based on the Xcode project template for visionOS metal rendering. The issue has been reported to Apple with the feedback ID `FB13351130`, and needs to be resolved on their end. I'm opening this issue so that it is visible to users who may encounter the same problem, and we can use it to track its status. When Apple releases a version of visionOS that fixes the issue, we'll close it out.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Add comment