I'm using Unity4.5.4 and NGUI 3.6, and want to support multi-languages.
When I try on devices using Android 4, it is totally fine. When I install the same build on Google Nexus 7 using Android 5.0, English version is fine, but almost all the Asian characters cannot be displayed(Chinese Korean Japanese). I tried different fonts(using Arial or load my own font from Resource folder), it didn't work either.
Does anybody encounter similar problem, or know how to deal with this problem? Thanks a lot!
It has to do with the image that you have flashed into your Android device.
Although the APIs for Android 5.0 are now final, the system image for
end-users is not available yet.
Assume everything is done correctly, once the end-user-system images are released your problem should be corrected.
Reference.
This is a bug in Unity. You may want to submit a bug report and wait for a patch release to fix it (though you used a preview image, it is also likely to happen on retail Android 5.0).
Edit: I tried on a Nexus Player, and the fonts were rendering just fine. Looks like Google forgot to add some fonts to the preview image. If you are experiencing this issue with a retail version of Android 5.0, please submit a bug for Unity.
Related
My app works before with translation from English to Korean.
See screenshot below.
I don't have to configure things like right fonts among other things.
Now it won't work and would only show Latin based characters.
I know for sure that the API I use returns the translation I need since the correct translation shows on my logcat.
But android textView doesn't display it properly since I updated all of my android studio components such as the emulator. It doesn't work properly on API 17, 18 and 19 but works on API 16 which is rather odd since if it could work on API 16, it should work on much newer versions of android too. I've also Cold Boot all my emulators to reset it, but still no changes. It also works on API 21 as show below. But definitely not on API 17-19 as I've tested. :(. Please. help. Thanks.
[Edit]: I Changed the title from "How to display Korean-Chinese-Japanese Characters in TextView?" to what it is now since supporting most languages is under encoding foreign language in Unicode it seems.
After debugging for a couple hours more searching. It seems that the current updated Android emulators for API 17-19 are buggy. Since I noticed that it doesn't display Korean Characters not only my my app, but also everywhere else like my web browser.
The reason why my app displays unicode characters in an older android versions like Android 4.1. However, it turns out it could display Japanese Characters when I tried to translate to another language that is another Unicode character. It could also properly display japanese and chinese unicode characters in my browser.
I already created a fresh Android emulator for API 17-19, but it really didn't solved the problem. Installing a new keyboard didn't do the trick either. I could't not add another language too like japanese since its not in the options. But japanese works on the emulator, so I didn't bother trying to find one for Korean.
In the end, it turns out its really an emulator (Operating System related) problem and not an android app compatibility or problem on my code. Android 4.2-4.3 (API 17-18) is both Jelly Bean anyway. Since, it works on Android 4.1 that is Jelly Bean too, problems must be in the android image updates I had update a few days ago. for Android 4.4, must be the same case then.
We are facing a problem since we updated our cardboard SDK for Unity 5.1.3f1.
In the editor we see no problems at all but once builded for android on a S6 phone (edge or not) we get some fast white flash when we switch scenes. It doesn't happen with phones such as Nexus 5.
We tried to builds empty scenes as well as the cardboard demo but we have the exact same problem which would suggest the problem is not on our project.
Anyone has/had this problem? If so is there a solution or a suggestion because we are stuck on this one.
Thank you!
I am doing a game in unity game engine .
I started developing the game in 4.6 but later on unity 5 get released so i upgraded my project to unity 5 version now my game running on android devices but i have one problem with shadows of game-objects which are showed in unity editor but not on the device.I am not able sort out this problem. I am also using NGUI for game user interface.
just changed the quality settings to fastest
you can find that option in edit->project settings->quality->then in right side you will see levels for different platforms set it to fastest
this worked for me
Check your quality settings (Edit/Project Settings/Quality) and make sure the default quality level for Android has shadows enabled.
I had this problem too, and then discovered that it was a limitation of the device I was using. On a slightly older Asus Nexus 7 tablet, shadows wouldn't appear, no matter what I did in the Quality Settings. I switched to a Lenovo Yoga 2 tablet and everything worked fine.
My app runs with many devices but 2 users have send me simular images as below.
As far as I know the behaviour is only seen on Android 4.2.2 (Samsung S4).
On the full HD screen there seem to be 3 compressed tiles of 160x600 pixels.
I have tried an AVD with full HD screen but that fails to start.
On 4.03 devices I don't see this. I don't use tiles.
Does anybody have a hint what or where this goes wrong ?
This looks like a possible bug in the Android platform on Samsung's S4 devices with that particular Android version. My experience tells me that it's a very real possibility. It could also be that you do something wrong in your app that only causes actual problems on that version (and maybe even only on that device), but there is no indication of that from what you tell. Android 4.2.2 should be backwards compatible with 4.0.3, so in general it should work on the later version too, of course.
I would advice you (or anyone in the same situation) to try it out on other devices with the same Android version if possible. Also, double check that you're not violating anything in the Android API documentation.
Please add more info about what you're doing and how if you need more detailed answers. I guess you've probably found a solution or workaround by now, but still adding my answer here.
Why do some fonts render on some stock android browsers and not other stock android browsers? For example, I bought the Have a Nice Day font from myfonts.com and unzipped the package here:
http://jl.evermight.com/myfont/StartHere.html
The font appears fine on my friend's S3, but it appears as Arial on my Galaxy Note (version 1). I upgraded my Galaxy Note OS to 4.0.4. So it's not that old.
What can I do to my css, or webserver, or html code etc... to force the font to render properly on all modern android stock browers?
The problem has been fixed. Apparently there was a bug on myfonts.com that corrupted my font files. I contacted myfonts.com and they corrected the issue right away. Then re-sent me the font files. Now everything works perfectly.
The guys at myfonts.com are amazing. Very good customer + tech support services.