Search Issue Tracker
By Design
Votes
0
Found in
4.5.0f3
Issue ID
606914
Regression
No
[WP8] Camera.ScreenPointToRay produces different results with enabled and disabled camera
To reproduce:
1. Open attached project
2. Open TouchTest scene
3. Include the current scene in the build - build and run
4. Press the top left corner of the screen while in landscape mode - note the 3rd row of coordinates. The values should be (-,+,+) (x is negative, others are positive
5. Turn the device 180 degrees into the other landscape mode
6. Press the top left corner (where the label is) - the coordinates are now (+, -, +) (y is negative)
If you enable the camera that's under GameObject InputCamera and repeat the whole process the coordinate results would be the same for both orientations.
Explanation:
The camera is not supposed to be functional when it's disabled. You would observe the same thing if you were to say, change screen resolution or some other parameter.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment