Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Feature Request When double-clicking a Console log message the game object is selected as well.

Discussion in 'Editor & General Support' started by AlanMattano, Dec 20, 2020.

  1. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,323
    Description
    When a log message is in the console. Is hard to understand what game object belongs to or where is in Project.

    actual: Double-clicking it only opens the IDE. Nothing is selected.

    expected: Double-clicking it the IDE is open and the game object/s is/are selected. So the component is visible flashing in the inspector. That the script is selected in Project (flashing).
    An extra key like [Ctrl] when selecting the log message can be used as an option.
     
  2. Madgvox

    Madgvox

    Joined:
    Apr 13, 2014
    Posts:
    1,079
    This functionality is possible in the editor, though not exactly as stated in your post. The optional second parameter in Debug.Log allows you to pass a context object. If the context object is an asset or object in the scene, it will be pinged when the associated log is single-clicked. Double-clicking will open the IDE as usual.
     
unityunity