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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
We have created a feature request to explore enabling CameraWorldToScreenPoint functionality in XR