Search Issue Tracker
Fixed
Fixed in 2.5.4, 3.0.2
Votes
0
Found in [Package]
2.5.3
3.0.0-pre.1
3.0.0-pre.2
Issue ID
XRIT-145
Regression
Yes
Cannot select spawned object in ARDemoScene
*Synopsis*
Using the ARDemoScene from XRIT, tap does not select a spawned object.
Sometimes the object highlights but does not become selected (see NoSelect.MOV attached) as evidenced by the Create button not being replaced by the Delete button.
Sometimes the tap falls through the object and spawns and additional object (see FallThrough.MOV attached).
The bug does not occur if you tap-and-drag, which selects and translates the object.
*Steps to reproduce:*
1. Unzip the attached AR_Selection_Bugs project.
2. Open AR_Selection_Bugs with Unity 2023.3.0b8.
3. File > Build Profiles > Android.
4. XR Plugin Management > ARcore.
5. XR Plugin Management > Project Validation > Fix All.
6. File > Build and Run.
7. Use phone to scan a plane.
8. Tap to spawn one cube on the plane.
9. Tap the spawned cube, being careful to not move the cube via drag.
*Actual results:*
Either the cube is not selected as seen in NoSelect.MOV, or a new cube is spawned as seen in TapThrough.MOV; see attached.
*Expected results:*
Cube is selected, as evidenced by the Create button being replaced by the Delete button.
*Reproducible with versions:*
XRIT 3.0.0-pre.2
XRIT 3.0.0-pre.1
XRI2.5.3
*Not reproducible with versions:*
*Can’t test with versions:*
*Tested on (OS):*
Repros on iOS (iPad) and Android (Pixel 7 Pro).
*Notes:*
* Very intermittent with Unity 2023.2 + XRI 2.5.0; overlooked during release testing.
* While testing this, sometimes a selected object becomes "stuck" to the camera, such the object moves around as you move the phone.
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
- Undoing the branch rotation resets only wireframe and not mesh when undoing the action first time after launching the project
- Asset Bundles retain their previous hash and CRC values when an object within a bundle is changed and rebuilt
- APV Reflection Probe Normalization breaks when SSGI is enabled
- Default Custom Components in project have Library counterparts
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
Resolution Note (fix version 3.0.2):
Changed `TouchscreenHoverFilter` to also use the interactor's select input state to fix an issue where an interactable object under the last tap position would start hovering when touching somewhere else on the screen before moving to exceed the drag gesture move threshold. Fixed tap gesture detection for selecting and spawning interactable objects in AR scenes.
Resolution Note (fix version 2.5.4):
Fixed tap gesture detection for selecting and spawning interactable objects in AR scenes.
- Changed the Tap Start Position input action to remove the Tap interaction from the `tapStartPosition` binding in the Starter Assets sample `XRI Default Input Actions` asset. The sample will need to be reimported to remove the Tap interaction from the binding for taps to be functional. This change along with changes to the `XRScreenSpaceController` also fixes the selected object from staying selected and movable with the mobile device orientation for 0.2 seconds after a tap was released.