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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment