Am I crazy in thinking the console window would normally always be automatically scrolled to the bottom and the most recent messages? Currently mine will only stay scrolled to the top, and I need to manually scroll to the bottom. I can find people requesting the feature, but years ago, so I don’t know if maybe it was a setting I switched accidentally but I can’t find any way to switch it back.
Bumping this because I’ve asked a bunch of other places as well and no one has any information. This is so annoying. If anyone can give me any insight at all I would be so appreciative.
Up until a few days ago, mine would always be stuck to the bottom/the newest messages, unless I scrolled up or away from the newest message in which case it would stay where I was scrolled. Then all of a sudden it stopped, and nothing I do seems to be able to switch it back.
Tried this, basically I do this every time I hit play hoping it will magically stay this time but nope. No luck yet. Thanks though.
I just figured out why this was happening and I thought I would share in case someone in the future is confused about the same thing:
So, I had a bunch of components sending Debug.Log information, and on the first frame that the Console received any information to display, it received more than would fit in the area without a scroll bar and it doesn’t recognize the message displayed at the bottom as any “newer” than the message at the top because they were all generated at same time, so it stays at the top. Since smartscroll is not enabled on this first frame, it isn’t enabled at all, and it stays at the top. If I send a single message to the console before sending it a lot of messages in a single frame, smartscroll is enabled and it behaves as intended.
So, if anyone in the future is confused about this and finds this forum post:
Just add a single new Debug.Log statement when your scene loads and it will stop happening.
I have the same problem in the Unity Android logcat package. The usual fix for badly designed terminals (there are lots of them) is to use keys to skip down to the bottom of the file - you need to get the cursor onto the last character for it to lock there. ‘End’ often does it, or repeated ‘PgDw’ keys, unfortunately logcat doesn’t accept keyboard input. It doesn’t seem possible to click the mouse after the last character.
To be clear: the window worked as expected until I selected a line which was not the last line, and even then it resumed scrolling to show the bottom line if I used ‘clear’ to empty the window. Then it stopped working during a long day of testing, and I can’t make it resume.
This truly is annoying behavior. What I have been doing when I need to monitor a stream of debug data as the game runs is adding a public member to the component that would be calling Debug.Log, and just setting that member’s value to whatever I would have been printing to the console. It doesn’t keep a record for me, but it lets me monitor the changing value without any scrolling problems.