Description: In the official visionOS 26 Hover Effect sample code project , I encountered an issue where the event.trackingAreaIdentifier returned by onSpatialEvent does not reset as expected.
Steps to Reproduce:
Select an object with trackingAreaID = 6 in the sample app. Look at a blank space (outside any tracking area) and perform a pinch gesture .
Expected Behavior: The event.trackingAreaIdentifier should return 0 when interacting with a non-tracking area.
Actual Behavior: The event.trackingAreaIdentifier still returns 6, even after restarting the app or killing the process. This persists regardless of where the pinch gesture is performed
Hello @iricszhou,
As evidenced by these replies we think you've discovered a bug and would appreciate a bug report, and the version of visionOS being used, to continue investigating.
@darkpaw this isn't entirely accurate: "It won't really get progressed if it's only posted in these Developer Forums." as there are issues that can be resolved directly here in the forums without requiring a bug report. It is often preferred to resolve issues here directly for efficiency.