Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2020.3.46f1
2021.3.20f1
2022.2.10f1
2023.1.0b7
2023.2.0a5
Issue ID
UUM-29254
Regression
No
”Assert.IsTrue” is not working when checking if “layerMask.value” is 0 when it’s 0
How to reproduce:
1. Open the attached “CheckLayer.zip” project
2. Open the “SampleScene” Scene (Assets > Scenes > SampleScene)
3. Enter Play Mode and observe the Console window
Expected result: “AssertionException: Error!” error is printed
Actual result: “AssertionException: Error!” error is not printed
Reproducible with: 2020.3.46f1, 2021.3.20f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5
Reproduced on: macOS 13.2.1 (Intel)
Note: Not reproducible when setting “layerMask.value” to 1 and Layer Mask to “Everything”
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
- Polyspatial Material swap set animations are not firing when used in Play Mode and Players
- Incomplete shortcuts are displayed in the "Set" dropdown in Visual Effects Graph VFX Control subwindow
- Version change sub-window closes automatically when "Add Modules" subwindow is closed
- RenderTexture content from 'Depth Only' camera is not rendered correctly on UI RawImage when Multithreaded Rendering is enabled on specific MediaTek devices.
- Weight Brush Overlay text is clipped in Sprite Editor
Resolution Note:
The expation for Assert.IsTrue is true, and thus the assert is valid and no error should be printed.
Resolution Note (2023.2.X):
The expation for Assert.IsTrue is true, and thus the assert is valid and no error should be printed.