Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Debug.Log no file or line numbers in console?

Discussion in '2023.1 Beta' started by SpookyCat, Feb 18, 2023.

  1. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,701
    Usually doing a Debug.Log will show the file and line number when it is clicked in the console but it seems that does not happen in 2023, Is there a setting that enables this?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,529
    Console - top right - change stack trace (or other options?)
    Does that help? Haven't tried myself but that has thrown me off sometimes
     
  3. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,701
    Thanks for that, never knew that lot was there.
     
    DevDunk likes this.
  4. justaddice83

    justaddice83

    Joined:
    Sep 19, 2012
    Posts:
    44
    I had the same problem.

    Specifically you need to go to:
    Console Options ≡
    Stack Trace Logging
    All
    Script Only