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
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
- Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
shubhamswaraj2021
Aug 18, 2020 08:06
good one <a href="https://www.lyricsauto.com">lyricsauto</a>