Hello,
I’m using NGUI and I found 3 issues. I’ve created a sample project so you can check the issue easily, and also screenshots and videos (see links below).
<Issue 1> When a new UI is enabled/disabled, the Chinese and Japanese labels (and only those) are broken.
My project is using a Dynamic Font for English, Chinese, and Japanese. But when using Chinese or Japanese, the UILabel is broken, while it is normal when using English.
This problem doesn’t occur in the editor but it occurs 100% when the app is installed on a device.
How to reproduce: Issue_1,2 -> Assets -> 01.Scene -> 01.Font_Issue.unity -> Click the “Create Popup 2” button and “X” button alternately, then the UILabel is broken for a moment.
Screenshot ->
https://www.dropbox.com/s/az3fk4jtqgggwi4/Screenshot_1.png?dl=0Video ->
https://www.dropbox.com/s/s9tres5gcozidj9/Video_1.mp4?dl=0Sample project ->
https://www.dropbox.com/s/0dz6nafddvb9eq7/NGUI%20Issue_1%2C2_Sample.rar?dl=0<Issue 2> Label flickers when UIInput and a Popup’s change positions simultaneously
This problem doesn’t occur in the editor but it occurs 100% when the app is installed on a device.
I can easily identify the issue on iOS, but I’m not sure if Android is having the same problem due to the characteristics of the keyboard.
How to reproduce: Issue_1,2 -> Assets -> 01.Scene -> 02.iOS_Input_Issue.unity -> Click on the “Create Popup” button, then select UIInput to create the keyboard, the Popup label flickers.
Screenshot ->
https://www.dropbox.com/s/p9e6gf1auo4ey87/Screenshot_2.png?dl=0Video ->
https://www.dropbox.com/s/pxf8kdqkc93jwjx/Video_2.mp4?dl=0Sample project ->
https://www.dropbox.com/s/0dz6nafddvb9eq7/NGUI%20Issue_1%2C2_Sample.rar?dl=0(The sample project is in 02.iOS_Input_Issue.unity Scene of the NGUI Issue_1 and 2_Sample Project)
<Issue 3>When the font file is changed, the label flickers once.
This issue occurs 100% in Editor and when the app is installed on a device.
How to reproduce: Issue_3 -> Assets -> Tutorial 2.unity -> When you click the “China” and “English” buttons alternately, UILabel is normal -> But when you click “Japan” and “English” buttons alternately, the UILabel disappears for a moment.
Screenshot ->
https://www.dropbox.com/s/6ij1pmt8z0yknud/NGUI_Issue_3_Sample.rar?dl=0Video ->
https://www.dropbox.com/s/i6loozvsrc1qgjf/Video_3.mp4?dl=0Sample project ->
https://www.dropbox.com/s/6ij1pmt8z0yknud/NGUI_Issue_3_Sample.rar?dl=0Font file: English and Chinese -> label_2d_sans.ttf / Japanese -> label_2d_sans_jp.ttf
After experimenting, I concluded that the issue occurs whenever the font file is changed.
Issue 1 also occurs in NGUI v3.11.4.
Issue 2 doesn’t occur on NGUI v3.11.4, but there are other problems like UIPanel masking, so v3.11.4 cannot be used.
I didn’t check the third issue in v3.11.4, since because of the second issue, I cannot use the latest version.
If you need the sample APK files, I can send them to you by email.
< Current development environment >
* Unity 3D engine: 5.4.4 f1
* NGUI: 3.11.1
* I2 Localization: 2.7.0 f1
* Test Device: Samsung Galaxy Note 3, Samsung Galaxy Note 5, iPhone 5, iPad New 9.7
Anyone has a solution for these three issues?
Thanks