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
- NullReferenceException occurs when trying to access TouchScreenKeyboard properties
- [Android] [GameActivity] Exception "Didn't find class "com.unity3d.player.ReflectionHelper" and application crash when setting
- List view “Add” and “Remove” buttons in are misaligned when minimizing Graph Inspector
- URP/Lit and URP/Simple Lit and shaders based on these do not render in WebGL Player
- VideoPlayer freezes for a short duration after 1 second when streaming on WebGL from StreamingAssets
Resolution Note:
We have created a feature request to explore enabling CameraWorldToScreenPoint functionality in XR