Hello, is it possible to handle the case that the user denies the hand tracking somehow? Preferably in Unity but it would be also fine if we have to check it in Xcode.
We would like to offer an alternative way of controlling the game if the users denies the hand tracking and unfortunately we couldn’t find a way so far yet.
At the moment, this data is not exposed to you publicly. I think the hand subsystem will always be running, even if authorization is denied. Could you please go to the visionOS Roadmap and submit this as an idea so we can track it?
In the meantime, you are able to “embed” the com.unity.xr.visionos package and modify it. Just copy the package folder from Library/PackageCache to Packages in your Unity project and drop the @0.7.1 from the folder name. When you come back to the Editor, it will re-import the package and from then on you can modify the C# code. Take a look at VisionOSSessionSubsystem.cs and see if you can expose the results you get in QueryAuthorizationResultsHandler.