TextArea cuts off text

i need to output very large string (some kind of console). here’s the code

scroll = GUILayout.BeginScrollView(scroll);
GUILayout.TextArea(txt);
GUILayout.EndScrollView();

but after some moment (when string become large enough) TextArea just cuts the text… tried everything… setting maxLength, several GUIStyle’s, nothing works… i just need to show some big string with scrolling ability.
Any help?

after some testing i found that TextArea can print maximum of 16382 characters (which is close to 2^14 = 16384). this contradicts help reference

static function TextArea (text : string, maxLength : int, params options : GUILayoutOption[ ]) : string

seems like a bug?

Unity is limited to 65,534 vertices per mesh.

–Eric

Yep. Each glyph is 4 verts. Max verts in a draw call is 65k.
It is a known issue, still, file a bug please.

well i made class that choose strings fitting the screen and then print them into TextArea. the only minus - my scrolling is done via keyboard and not scrollbar.
topic can be closed :slight_smile:

p.s. awyway where can i fill the bug report?

Menu Help->Report a Bug :slight_smile: