Search Issue Tracker
Fixed
Fixed in 2022.3.7f1, 2023.1.8f1, 2023.2.0b4, 2023.3.0a1
Votes
0
Found in
2022.3.2f1
2023.1.5f1
2023.2.0a19
2023.3.0a1
Issue ID
UUM-40888
Regression
Yes
"Assertion failed on expression" Error thrown in Console when Pixel Perfect Camera (URP) has Scale set to 0 on any axis
How to reproduce:
1. Create a 2D (URP) Project
2. In the Hierarchy right click to create 2D Object > Pixel Perfect Camera (URP)
3. In the Inspector change the Scale of any of the axis to 0
4. Observe the Console
Actual result: An "Assertion failed on expression" error message is constantly logged in Console
Expected result: No error message is logged or if this behavior is not valid, Warning message is logged or User shouldn't be able to input 0
Reproducible with: 2022.2.0f1, 2022.3.2f1, 2023.1.2f1, 2023.2.0a19
Not reproducible with: 2021.3.27f1, 2022.2.0b16
Error message:
"Assertion failed on expression: 'IsNormalized(normal, 0.001f)'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"
Reproduced on: Windows 11, macOS Ventura M1
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