Search Issue Tracker

Duplicate

Votes

2

Found in

2019.1.0a10

2019.1.0f1

2019.2.0a1

Issue ID

1144965

Regression

Yes

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

Themes

-

How to reproduce:
1. Open the attached project "ConsoleError_ReproProject.zip" 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. BelinExperience

    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. timuz

    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. Neoroid

    Jul 09, 2019 16:25

    Same issues in 2019.1.9f1.
    fix plz!

  4. BBO_Lagoon

    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