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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment