Author Topic: Sprites inside clipped UIPanel became broken after upgrading from v2.5.1 → 2.6.1  (Read 5476 times)

hitorijanai

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
I have just upgraded NGUI to v2.6.1 and suddenly all sprites inside a clipped panel became broken (no texture, only hue-colored sprites) regardless of the clipping type (hard, alpha, soft). Everything went back to normal after disabling clipping. This happens on any scenes/panels, even in NGUI examples inside a new unity project. I have tried updating my graphics driver but the problem still persists. What should I do?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
When they look like that it means your current setup does not support shaders. You must be targeting GLES 2.0 / ARMv7.

hitorijanai

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Thanks for the blazing fast reply!

Yeah you're right, my current setup is targeting GLES 2.0 / ARMv7. But everything was just fine before I upgraded to this version (2.6.1). I tried to switch the target platform to PC/Standalone but it's still the same. I never have this kind of problem before. I'm really confused now :(

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Grab 2.6.1c and see if it happens there. I just fixed another related issue.

hitorijanai

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Perfect! Thanks for the fix!
« Last Edit: May 07, 2013, 01:15:24 AM by hitorijanai »