Search Issue Tracker
By Design
Votes
0
Found in [Package]
14.0.0
Issue ID
1391696
Regression
No
Camera uses Viewport Rect for mouse position when the Camera's Render Type is set to Overlay
How to reproduce:
1. Open the attached project "ViewportRectBug.zip"
2. Open "SampleScene" Scene
3. Select the "OverlayCam" GameObject in the Hierarchy window
4. Change the Render Type to Base in the Inspector window
5. Change the Viewport Rect values to X: 0.4, Y: 0.4, W: 0.4, H: 0.4
6. Change the Render Type to Overlay
7. Enter Play mode
8. Hover the mouse over the cubes
Expected result: The mouse is not offset, the cube that the mouse is hovering over turns red
Actual result: The mouse is offset, the cube that the mouse is not hovering over turns red
Reproducible with: 7.3.1, 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.30f1), 12.1.5 (2021.2.13f1), 13.1.5 (2022.1.0b9), 14.0.0 (2022.2.0a5)
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
By design. If the user selects the base camera again and look at the stack. There should/will be an error that says it is out of sync.