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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment