Search Issue Tracker
Fixed
Votes
0
Found in
5.1.0b5
Issue ID
694775
Regression
No
Debug.Assert has no default message
New Debug method Debug.Assert doesn't print out any default message to console if the message is not provided.
1. Open scene.
2. Add script to camera.
3. Play.
4. Assert going to throw error as it should be. However when you use Debug.Assert(bool), default message is empty.
Method Output to console:
"
UnityEngine.Debug:Assert(Boolean)
Test:Update() (at Assets/Test.cs:18)"
(Notice the upper empty line)
I know its not really a big deal, but still some default message would be better, than just simple empty line.
Reproduced: 5.1.0f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment