Copyright © 2026 Unity Technologies
Added configurable functionality to `ARContactSpawnTrigger` in the AR Starter Assets sample to block spawning of objects on AR Planes when the active interactor in the associated `XRInteractionGroup` is either hovering or selecting an interactable object.
XRI 3.1.x is now at end-of-life with Unity 6.1, this fix will be available in a newer version of XRI.
Added configurable functionality to `ARContactSpawnTrigger` in the AR Starter Assets sample to block spawning of objects on AR Planes when the active interactor in the associated `XRInteractionGroup` is either hovering or selecting an interactable object.
In this template, tapping on detected planes spawns objects. But it spawns objects when my controller is near a plane as well. Admittedly we might expect some tolerances at play here, but if a Half Torus is laying on its side, then it is difficult for me to pick it up via direct grab without spawning an additional object. See Spawn.mp4 attached.
Steps to reproduce:
Actual results:
When your controller moves this close to the plane, a new Half Torus is spawned even though you did not tap the plane.
Expected results:
You should be able to grab the current Half Torus easily without spawning another Half Torus accidentally.
Reproducible with versions:
MR Template 1.1.2 (branch: release/2022.3, commit: 0e705300)
Unity 2022.3.62f1
Quest 3
Issues you vote on will appear here