Author Topic: NGUI bug IndexOutOfRangeException  (Read 5200 times)

seagullua

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
NGUI bug IndexOutOfRangeException
« on: December 14, 2016, 11:51:17 AM »
IndexOutOfRangeException: Array index is out of range.

We receive a lot of errors from out clients with such stack from various Android devices

UIGeometry.WriteToBuffers (.BetterList`1 v, .BetterList`1 u, .BetterList`1 c, .BetterList`1 n, .BetterList`1 t)
UIWidget.WriteToBuffers (.BetterList`1 v, .BetterList`1 u, .BetterList`1 c, .BetterList`1 n, .BetterList`1 t)
UIPanel.FillDrawCall (.UIDrawCall dc)
UILabel.OnFontChanged (UnityEngine.Font font)
UnityEngine.Font.InvokeTextureRebuilt_Internal (UnityEngine.Font font)
UnityEngine.Font:RequestCharactersInTexture(String, Int32, FontStyle)
NGUIText:Prepare(String)
NGUIText:WrapText(String, String&, Boolean, Boolean, Boolean)
UILabel:ProcessText(Boolean, Boolean)
UILabel:ProcessText()
UILabel:ProcessAndRequest()
UILabel:set_text(String)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI bug IndexOutOfRangeException
« Reply #1 on: December 15, 2016, 09:15:15 AM »
NGUI doesn't use BetterList anymore for its draw calls. I think you need to update your NGUI...