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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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.