Search Issue Tracker
Feature Request
Votes
6
Found in
2019.4.19f1
2020.2.3f1
2020.3.0f1
2021.1.0b5
2021.2.0a4
Issue ID
UUM-1501
Regression
No
[XR SDK] CameraWorldToScreenPoint returns offset coordinates
Reproduction steps:
1. Open the attached project ("1304082.zip")
2. Open the "SampleScene" scene
3. Enter the Play mode
4. Select the "Sphere" Game object in the Hierarchy window
5. Change X or Y Position values so that the Sphere Game object is on the edge of the screen
6. Observe Output values in the middle of the game window
Expected result: Output value should be (0.0|1.0,...) or (..., 0.0|1.0)
Actual result: Output value never reaches 0.0 or 1.0 corrdinates (see "2021-01-29 13-44-45.mp4" video)
Reproducible with: 2019.4.19f1, 2020.2.3f1, 2021.1.0b5, 2021.2.0a4
Not reproducible with: 2018.4.31f1 (XR SDK not available)
Tested:
- MockHMD
- Oculus Rift S
- Acer WMR
Comments (2)
-
tmarlok
Aug 20, 2022 10:58
Same problem with cable-linked Meta Quest2.
-
dhami-nitin
Jun 17, 2022 12:54
The same issue exists for Neal glasses as well,
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note:
We have created a feature request to explore enabling CameraWorldToScreenPoint functionality in XR