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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment