Search Issue Tracker
Fixed in 0.10.0-preview.1
Votes
1
Found in [Package]
0.9.4
Issue ID
1264748
Regression
No
[XR Interaction Toolkit] Custom reticle flickers when interacting with UI
Repro steps:
1. Open attached project
2. Build and Run on Quest
3. Point the left controller which has a mesh based reticle to UI
Actual: The reticle is flickering
Reproducible with: XR Interaction Toolkit preview - 0.9.4
Comments (1)
-
JKadlec
May 17, 2022 16:54
I have the same issue in version 2.0.0-pre.5.
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
- Crash on GfxDeviceClient::AllocateBufferInternal when entering Play mode using Graphics.RenderPrimitives and Graphics.DrawProcedural in the scene
- Import TextMesh Pro window opens when the Text Mesh Pro Essentials and Examples are already imported when creating a new TextMesh Pro GameObject in the Hierarchy with TextMesh Pro settings reset
- Video is not rendered when the VideoPlayer GameObject is disabled and re-enabled after playback starts while using Material Override render mode
- Missing documentation page - "Sorry...that page seems to be missing" is shown on the browser when clicking the help icon on a Color Preset Library Scriptable Object
- Selection outline is not shown when selecting a high intensity HDR Swatch preset in Color Picker
Resolution Note (fix version 0.10.0-preview.1):
In the repro project provided, because the reticle was a child of the LeftHand Controller, and the XRController has tracking type for Update and OnBeforeRender, the position of the controller would update again after the reticle position was updated during Update. This would cause the reticle position to sometimes be behind the UI Canvas, causing the flicker. In the new version of the package, XRInteractorLineVisual updates during OnBeforeRender after the controller position is updated, correcting the problem.
The issue will be fixed by upgrading to version 0.10 of the XR Interaction Toolkit package. As a workaround if updating is not possible, the Reticle GameObject can be reparented to the root level of the scene so it is not a child of the controller.