Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Tashkent

Pages: [1]
1
Misc Archive / Several issues with fonts
« on: August 28, 2017, 04:25:27 AM »
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=0
Video -> https://www.dropbox.com/s/s9tres5gcozidj9/Video_1.mp4?dl=0
Sample 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=0
Video -> https://www.dropbox.com/s/pxf8kdqkc93jwjx/Video_2.mp4?dl=0
Sample 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=0
Video -> https://www.dropbox.com/s/i6loozvsrc1qgjf/Video_3.mp4?dl=0
Sample project -> https://www.dropbox.com/s/6ij1pmt8z0yknud/NGUI_Issue_3_Sample.rar?dl=0
Font 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

2
NGUI 3 Support / UIPopupList position issue
« on: January 17, 2017, 03:06:27 AM »
Hi,

I found an issue with the position of PopupList in NGUI.

I use NGUI’s UIPopupList.
I created 4 UIPopupList and when I click on each of the 4 buttons, the position of the drop-down list is different.
The position is normal only for the first drop-down list (attachement: UIPopupList_1.png), but the second drop-down list’s position is too high (UIPopupList_2.png), and the third and fourth ones are even higher (they hide the original button) (UIPopupList_3.png, UIPopupList_4.png).
For reference, I set the position of the UIPopupList as “Below” (UIPopupList_Inspector.png). I need it to be below for my game’s features.

These are my specs:
*Unity 3D engine: 5.4.4 f1
*NGUI Version: 3.11.1

Please let me know how to fix this.
Thank you

3
NGUI 3 Support / Crash issue with NGUI and Firebase Analytics
« on: January 12, 2017, 02:47:09 AM »
Hello,

I found a crash issue while using NGUI.

When I use Unity’s SetActive function (NGUI Image, Enable or Disable) and Firebase Analytics together, the app crashes. For reference, the crash issue only seems to occur on devices with Android OS v5.0 or more.
Also, the issue didn’t occur when I used UGUI, it only occurred when I used NGUI.

Here are the details about my project (NGUI scene).
When the “Login” button is clicked once, the following function runs automatically every 3 seconds as I programmed it for easy testing.
1)   NGUI Sprite Image Enable or Disable using the Unity SetActive() function
2)   Firebase Analytics process
I tested it and found that the crash occurs when it runs 10~100 times. The crash occurs when Firebase Analytics runs. You can see the crash log below.

E/NativeCrashListener(875): Exception dealing with report
E/NativeCrashListener(875): android.system.ErrnoException: read failed: EAGAIN (Try again)
E/NativeCrashListener(875):    at libcore.io.Posix.readBytes(Native Method)
E/NativeCrashListener(875):    at libcore.io.Posix.read(Posix.java:147)
E/NativeCrashListener(875):    at libcore.io.BlockGuardOs.read(BlockGuardOs.java:230)
E/NativeCrashListener(875):    at android.system.Os.read(Os.java:364)
E/NativeCrashListener(875):    at com.android.server.am.NativeCrashListener.consumeNativeCrashData(NativeCrashListener.java:240)
E/NativeCrashListener(875):    at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:138)

Here are the details about the UGUI scene.
When the “Login” button is clicked once, the following function runs automatically every 3 seconds as I programmed it for easy testing.
1)   UGUI Sprite Image Enable or Disable using the Unity SetActive() function
2)   Firebase Analytics process
I tested it and found that the app didn’t crash.

So after testing the two sample scenes, I found that the issue occurred when I used NGUI, but not when I used UGUI.

Here are my specs:
*Unity 3D engine: 5.4.4 f1
*NGUI Version: 3.11.1
*Firebase Analytics Unity SDK: 1.0.1
*Test Device: Galaxy Tab, Galaxy S6 Edge, Galaxy Note 4

4
NGUI 3 Support / "Hide Input" issue with Asian languages
« on: March 03, 2015, 08:24:59 PM »
Hello,

I would like to change the way users input text on my Android game by hiding the input. However, when I check the “Hide Input” box, I cannot input text in Chinese, Japanese, Korean, or Thai. I type the characters but nothing appears in the text box. I also cannot input some special characters like a star or a heart (★,♥).

Many of my users are using these languages so it’s an important issue for me. Please let me know how to solve this.

Thank you

5
NGUI 3 Support / UICenteronChild issue
« on: August 04, 2014, 08:54:31 PM »
Hello,

Since updating NGUI to 3.6.8, I’m having an issue with UICenteronChild.

When scrolling the mouse to the left and releasing, the screen centers fine, but when scrolling to the right, it gets stuck and does not center.

It worked fine on 3.6.0. Is this a bug on the new version?

Thanks.

Pages: [1]