Search Issue Tracker




Found in




Issue ID




Console Window contents disappear when a certain Debug.Log message is clicked



How to reproduce:
1. Open the attached project "" and scene "SampleScene"
2. Enter Play Mode
3. Click the "OnEvent" debug message after it appears in the Console Window
4. Observe the Console Window

Expected result: the Console Window contents persist and the clicked message is explained in more detail in the bottom half of the Console Window
Actual result: the Console Window contents cannot be seen anymore and the Console Window UI appears broken

Reproducible with: 2019.1.0a10, 2019.1.0f1, 2019.2.0a1, 2019.2.0a11,
Not reproducible with: 2017.4.0f1, 2017.4.25f1, 2018.3.0a1, 2018.3.13f1, 2019.1.0a1, 2019.1.0a9

Note: clicking the last message preview which is always visible at the very bottom restores the Console Window's contents revealing the missing contents as well as many errors such as "ArgumentOutOfRangeException: Length cannot be less than zero." and "GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)"

Comments (4)

  1. D2f8390b7a7b3ba24241ea041fabadea?d=mm


    Sep 11, 2019 18:32

    I had this issue when working with an asset that has parenthesis in the package name, BEST HTTP (pro). As a workaround, removing the parenthesis from the asset's path fixed it.

  2. F3aae3f8c0055782339651135a803c0c?d=mm


    Sep 04, 2019 06:35

    Same issues in 2019.1.10f1,On clicking Debug.Log, the console will turns blank and getting errors as below

    ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    System.String.Substring (System.Int32 startIndex, System.Int32 length) (at <7d97106330684add86d080ecf65bfe69>:0)
    UnityEditor.ConsoleWindow.StacktraceWithHyperlinks (System.String stacktraceText) (at C:/buildslave/unity/build/Editor/Mono/ConsoleWindow.cs:823)
    UnityEditor.ConsoleWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/ConsoleWindow.cs:740)

  3. 5972278f29770dc106bbb60f74954139?d=mm


    Jul 09, 2019 16:25

    Same issues in 2019.1.9f1.
    fix plz!

  4. Febaba86ad0e300d58e59cd427ded097?d=mm


    Apr 11, 2019 06:49

    I found that the problem is related to parenthesis in the path name.
    If a script with a parenthesis in the path call a Debug.Log, the console will turns blank.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.