Author Topic: dynamic font can't see in assetBundle way.  (Read 3487 times)

tenvick

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
dynamic font can't see in assetBundle way.
« on: June 24, 2013, 08:19:20 AM »
I make a prefab like this
====================
RootUI2D (prefab)
   Anchor
      Button
         BackGound
         Lable    //UILabel font is dynamic font

then I use BuildPipeline.BuildAssetBundle make the prefab to RootUI2D.unity3d

now I make a new scene, Load the RootUI2D  in WWW.

the problem is the label's text can see in unityEditor play mode no in iOS(iPad or iphone).

why this happy?
please help me.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: dynamic font can't see in assetBundle way.
« Reply #1 on: June 24, 2013, 10:56:33 AM »
Asset bundles are platform-specific. You need to make different asset bundles for each platform.

Also NGUI is not really meant to be used with asset bundles to begin with. I advise you reconsider what you're doing.

Lastly, you posted in the wrong forum.

tenvick

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: dynamic font can't see in assetBundle way.
« Reply #2 on: June 25, 2013, 03:53:59 AM »
hi gays .It's not the NGUI's problem.
the fuck iOS can't read file which the name contains space.