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
- A 404 page is opened when selecting "Open Documentation" on the Float Node in Shader Graph
- Shader Graph Importer's Documentation Reference button leads to a 404 page
- Crash on WriteParticleLineVertex when particle systems are rendered in a specific project
- Asset names longer than the allowed system file path are not handled gracefully
- Moving VFX Particles leave a ghosting trial in Ray Traced Screen Space Reflections
Add comment