Author Topic: UIScrollview / UIPanel - clipping not working on iPad Air  (Read 7738 times)

AxelF

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
UIScrollview / UIPanel - clipping not working on iPad Air
« on: June 05, 2014, 06:44:32 AM »
Hi,

I'm using NGUI 3.5.9 and implemented a scrollable are in my mobile app following your tutorial and examples. Basically it worked like a charm on every mobile device (iPhone, Android, WindPhone) I tested the app. But its broken on my iPad Air.
At first I thought I made a mistake implementing it but then I tested your example scenes and they did not worked either. As seen in the attached screenshot.
 
I can not reproduce the problem in Unity itself, no matter what resolution I'm trying. And, as said, the only device I'm getting the clipping error (without error messages) is the iPad Air. I have no other iPad's so I can not say if the problem persists on other pads.

Any ideas?

Regards, Axel

yeagerj

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: UIScrollview / UIPanel - clipping not working on iPad Air
« Reply #1 on: June 05, 2014, 03:26:50 PM »
Just so you know, we're seeing the same problem and it does seem to only be the iPad Air. We've tested with an iPad 1 and 4 and had no issues.

- Josh

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollview / UIPanel - clipping not working on iPad Air
« Reply #2 on: June 06, 2014, 02:29:51 AM »
Whenever you see clipping not work like that, it means shaders are disabled -- either due to quality settings, to you targeting ARMv6/GLES 1.1, or due to device not supporting shaders.

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: UIScrollview / UIPanel - clipping not working on iPad Air
« Reply #3 on: June 06, 2014, 02:52:04 AM »
We have an iPad Air here and clipping works  :)

yeagerj

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: UIScrollview / UIPanel - clipping not working on iPad Air
« Reply #4 on: June 09, 2014, 06:36:29 PM »
r.pedra, what shader are you using for the sprites being clipped? We've tried the 'Unlit - Premultiplied Colored' and 'Unlit - Transparent Colored', but clipping is still not working for us on the Air.

Thanks,

- Josh

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile

yeagerj

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: UIScrollview / UIPanel - clipping not working on iPad Air
« Reply #6 on: June 11, 2014, 09:43:13 AM »
For us it was. We just had to set the graphics level in player settings to 'Force OpenGL ES 2.0'. Thanks!