Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.4p3
Issue ID
789859
Regression
No
Assert.IsNotNull and Assert.IsNull do not trigger
Reproduction steps:
1. Open attached project (Assert)
2. Open scene
3. Click on the Main Camera
- Notice that there is a script attached with empty fields for Game Objects (Check Not Null and Check Null)
4. Click play
- In console you get error message that Check Null is Not Null, while it is null because no Game Object is added to Check Null
- If you add a Cube to both Check Not Null and Check Null you will still get the same message, and the same happens if you add a Cube to only one of them
Check Not Null (Assert.IsNotNull) should trigger when the value is not null
Check Null (Assert.IsNull) should trigger when the value is null
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
- [Linux] "Error while reading movie" errors are thrown when opening templates
- Shader warnings are being thrown after building Mixed Reality Template
Add comment