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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment