- Home /
Debug.Log Maximum Length?
Does the printout of the debug log have a maximum length for each time its called? For example, I am doing Debug.Log("Data:"+myHugeDataTable) and it doesn't seem to be printing all of it (in the console window) despite maximizing the console window and scrolling all the way down to view the data.
Answer by Bunny83 · Oct 02, 2011 at 01:15 PM
Like most windows controls TextFields are limited to 64k (65536) bytes which kinda maps to the character count. Keep in mind that new-line-characters are also characters and unicode characters may be encoded differently.
I'm not sure if the text that is written to the log-file covers the whole text, but it's worth trying. Another way would be to split the text into multiple Debug.Logs.
Answer by ExNinja · Mar 24, 2019 at 12:19 PM
Experimentation shows the limit to be much closer to 16,384.