Copy Console Output to Clipboard?

Is there a way to copy the Console output to the clipboard? I understand it is possible to copy the editor to the clipboard, but the console output is only a subset of the editor output.

1 Like

…you select the text and Command-C it. Am I missing something?

I can select a single console line and then use CTRL C to copy the line (I’m using a PC), but there doesn’t seem to be any way of copy multiple lines at the same time?

Open the editor log.

Scroll down until you see the messages you need to copy. There will be a lot on the top you don’t need.

I acknowledged that solution was possible in my initial question, but I was trying to find a solution that avoided cutting a subset of the Editor Log.

1 Like

Still no real answer to this one, eh? Or perhaps my Google-fu is weak. But I, too, haven’t found a good way to be able to copy from the console (also on Windows). One line at a time is really… not helpful.

Edit: Okay so I found this but I suspect it is out of date. In my AppData folder there is a directory called Editor-4.x, but it doesn’t contain any such log.

You could click right-top cornor of the “Console Panel”, just click “Open Editor Log” with Unity 4.x

2 Likes

This still works in 5.x as well. Its hard to see the tiny doohickey to click …

1 Like

For now I found the ‘Console Enhanced’ plugin in asset store works well by multi selection directly in its console window.
It has lite and pro edition.

1 Like

thanks!

1 Like

If you want a more concise log, that matches what you see in the editor console window, you can also click the corner console panel and under stack trace logging turn all to none. Then when you open up the editor log it should have less stuff for you to wade through!

2 Likes

Thanks!

Here’s a trick I found. (Check out trick #2)
#1 you can expand the window to show more lines for copying
#2 If you copy a line [while holding the mouse button down] you can use the scroll wheel on your mouse to continue scrolling and select additional lines.
#3 If you select the single line and copy just that. It will copy the entire segment of that log. Hopefully this makes sense.

-Xpius

1 Like

Unity should f*ing allow the copying from console!!
Can not understand how this is even not possible in 2022.

2 Likes

You can copy from the console quite easily:

  1. Select the first entry in the console (or press HOME while in the console window)
  2. Press CTRL-SHIFT-END
  3. Press CTRL-C to copy the entire log
  4. Paste into your favorite editor

After selecting the first entry in console you can also press CTRL+A to select all, then press CTRL+C to copy the entire log.

I click/select the first line I want to copy, then while holding down the key I click on the last line I want in the series to copy and then C. But I still get a bunch of unwanted information. Wished I could just do a WYSIWYG.

2 Likes

no way that would be useful and not waste tons of your time and therefore money. Unity will have none of that.