Author Topic: Scroll view contents not limited to panel when scrolling on iOS retina  (Read 2426 times)

capitalj

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 88
    • View Profile
Hi,

My scroll view contents aren't clipped within the panel when I scroll (they just all appear over top of the rest of the UI). When the scrolling stops the items that are completely outside of the panel disappear and only the items inside the panel remain (but are not clipped if partially outside of the panel). This is only happening on retina devices (iPad mini retina), not on non-retina devices or in the editor.

I have the latest ngui (just updated yesterday).

I remember this happening sometimes in ngui 2, but this is the first time I've seen it happen on 3x.

My unity is 4.5.1.

-J

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Target GLES 2, not GLES 3.

capitalj

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 88
    • View Profile
You're right, my player settings were set to Automatic for graphics type. So on the mini retina it must have been using ES3. Thank you.

oddurmagg

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
It seems a little limiting to have to use GLES 2 if you are using ngui. Do you have any details on why this is no compatible with GLES 3 ? Especially now that higher end devices are becoming more available.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
GLES 3 support is brand new in Unity, and I don't know why such trivial shaders wouldn't work. I'll revisit this once uGUI ships and I have a look at how its shaders behave (assuming they won't exhibit the same problem).