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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Add comment