Search Issue Tracker
By Design
Votes
1
Found in [Package]
4.0.1
Issue ID
1270952
Regression
No
[Pixel Perfect] Pixel size relative to the screen resolution changes when changing the screen resolution
How to reproduce:
1. Open attached "1270952_PixelSizeIssue" project
2. Open Assets/_Main/Scenes/New Scene
3. Enter Play Mode
4. Change the resolution in the Game View window to 320x180
5. Observe the pixels in the Game View window
6. Change the resolution in the Game View window to 1920x1080
7. Observe the pixels in the Game View window
Expected result: The pixel size relative to the resolution stays the same
Actual result: The pixel size changes relative to the resolution
Reproducible with: 2.0.4 (2019.4.8f1), 3.0.2 (2020.1.4f1), 4.0.1 (2020.2.0b1)
Can't Test: 2018.4 (can't import the package)
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
- 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
Resolution Note:
There are a few issues with the repro project:
* The Pixel Perfect Camera in URP only works with the 2D Renderer, not the Forward Renderer.
* The Pixel Perfect Camera doesn't officially support Canvas/UI system.