Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: clarliao on September 01, 2014, 09:28:09 PM
-
hi ,
I am using UNITY 4.5.2 with NGUI 3.7.0
When I run demo 10 : Localization ,
It works fine on PC ,
It works fine when I click 'Build and Run' to launch it by Unity on my Android phone.
(see the OK.png in attached file
but when I install it manually by click apk file in my phone ,
all string disapear
(see the NG.png in attached file)
How could I fixed this? thanks
-
Check to see if the APK actually has the localization files inside it. I'm not sure about this one as I've never had any issues, but then again I never installed APKs manually. I know it works when you build, as well as when you publish via Google Play / Amazon by passing them the APK.
-
Even I installed from Google play , it doesn't work still . Since they are the same apk.
After a lot of test ,
I am sure the localization file is not packed into apk.
After I add a public TextAsset in a script, and drop this file to a GameObject with that script,
everything worked.
But I don't think this is the final solution. Maybe it's the bug from Unity?
Any good idea to fix this problem?
Regards.
-
You need to place the localization file into the Resources folder, or it won't be included.