Author Topic: Can not be run on Android  (Read 5059 times)

lofl

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Can not be run on Android
« on: March 13, 2014, 11:28:32 PM »
My Project is able to run on Editor and Windows.
But it doesn't run on Android.

So I check logcat, following error is occurred.

03-14 12:53:33.818: E/Unity(3663): GUI/Text Shader doesn't have a clipped shader version for None

What is wrong?


Thank you.

lofl

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Can not be run on Android
« Reply #1 on: March 14, 2014, 01:59:34 AM »
I read this thread.

http://www.tasharen.com/forum/index.php?topic=6694.0

and new log is...

03-14 15:55:16.584: E/Unity(6204): GUI/Text Shader doesn't have a clipped shader version for AlphaClip

Agent_007

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 5
  • Posts: 27
    • View Profile
Re: Can not be run on Android
« Reply #2 on: March 14, 2014, 02:33:54 AM »
GUI/Text Shader doesn't work with NGUI panel clipping. So you have to use different shader for that object (text?) you want to show in the clipped panel.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can not be run on Android
« Reply #3 on: March 14, 2014, 11:23:46 AM »
NGUI doesn't use GUI/Text. It replaces it with an NGUI equivalent -- "Unlit/Text".

So sounds to me like you are using some old version of NGUI.

lofl

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Can not be run on Android
« Reply #4 on: March 16, 2014, 03:29:04 PM »
Thank you!

My project started last summer.
So this project's NGUI is ver 3.0.0e.
Should I update NGUI?

By the way, it means dynamic font is not available in a clipping panel?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can not be run on Android
« Reply #5 on: March 17, 2014, 01:26:52 AM »
Yes, you most certainly need to update. Dynamic font works just fine with clipping. Your version is just out of date.