Search Unity

Question How do I see a full truncated message in Console Window?

Discussion in 'Editor & General Support' started by Softgraph, Sep 20, 2020.

  1. Softgraph

    Softgraph

    Joined:
    Jan 25, 2019
    Posts:
    14
    Hello, I printed over 2450 lines using Debug.Log() command but then the editor truncated the message.

    How can I see the full message?
     
    dan_ginovker likes this.
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,196
    Open the actual log file itself. It should contain the full message. Or print those log statements as individual Debug.Log calls rather one one massive call.
     
  3. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
    I'd just write it out to a file instead of Debug.Log.
     
  4. Softgraph

    Softgraph

    Joined:
    Jan 25, 2019
    Posts:
    14
    Is there any example I could find to print results to a file?

    I couldn't find any so far
     
  5. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
  6. Panner_

    Panner_

    Joined:
    Mar 2, 2022
    Posts:
    2
    This still comes up when searching, so I'll add that in Windows, the actual log file can be found at:

    %LOCALAPPDATA%\Unity\Editor\Editor.log
     
    Emanx140 and mattsoftwaredev like this.
  7. dan_ginovker

    dan_ginovker

    Joined:
    Jun 13, 2021
    Posts:
    76
    On Linux, the default path is ~/.config/unity3d/Editor.log