Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: seagullua on December 14, 2016, 11:51:17 AM

Title: NGUI bug IndexOutOfRangeException
Post by: seagullua 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)
Title: Re: NGUI bug IndexOutOfRangeException
Post by: ArenMook 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...