Author Topic: PS4 IndexOutOfRangeException on UICamera  (Read 3202 times)

forrestuv

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
PS4 IndexOutOfRangeException on UICamera
« on: April 08, 2016, 09:22:31 AM »
Hi!

Unity 5.3.4f
Ngui 3.9.8
PS4

Very often randomly I get this error:

IndexOutOfRangeException: Array index is out of range.
at UICamera.GetMouse (Int32 button) [0x00000] in \Assets\NGUI\Scripts\UI\UICamera.cs:1550
at UICamera.GetTouch (Int32 id, Boolean createIfMissing) [0x00007] in \Assets\NGUI\Scripts\UI\UICamera.cs:1558
at UICamera.ProcessTouches () [0x000a5] in \Assets\NGUI\Scripts\UI\UICamera.cs:1999
at UICamera.ProcessEvents () [0x0001c] in\Assets\NGUI\Scripts\UI\UICamera.cs:1753
at UICamera.Update () [0x00017] in \Assets\NGUI\Scripts\UI\UICamera.cs:1712

any idea?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: PS4 IndexOutOfRangeException on UICamera
« Reply #1 on: April 08, 2016, 08:24:56 PM »
Pretty sure there is no mouse on the PS4, and the error you are getting is about a mouse. why not disable mouse input?