Author Topic: Scroller with text label with large amount of text  (Read 2208 times)

ilanmayer

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Scroller with text label with large amount of text
« on: May 07, 2014, 10:14:22 AM »
If the amount of text exceeds a certain amount, no text is rendered, and the error "Too many vertices on one panel: 99608" (number varies) is displayed in the Unity log.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scroller with text label with large amount of text
« Reply #1 on: May 08, 2014, 01:30:53 AM »
Sounds about right. 100k vertices implies 25,000 characters. Maximum allowed number of vertices in Unity is 64k. If you need to draw an entire novel like that, separate it into different panels, each with its own draw call.

Also don't use the "outline" effect on the label. It multiplies the number of required vertices by a factor of 5.