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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Add comment