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
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
- 32bit floating point RenderTexture blending feature is not available for WebGPU
Resolution Note:
We have created a feature request to explore enabling CameraWorldToScreenPoint functionality in XR