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.


Messages - kimsama

Pages: [1]
1
NGUI 3 Support / Re: How to apply a shader effect on one sprite?
« on: December 11, 2014, 03:22:55 AM »
See UIShaderSprite for the working copy of this thread.

You can find it on the following github repository:

https://github.com/kimsama/Unity-NGUIExtension

As my experiments, it needs to call panel.RebuildAllDrawCalls() to correctly apply a new shader which is differenct to what NGUI applies in UIDrawCall.UpdateMaterial() call.

2
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 28, 2013, 08:32:29 PM »
Bug is still present =(
Reproducible on IPad mini

@dkozlovtsev

Are you using NGUI 2.6.5 on iPad mini?

Randomly disappearing fonts bug is only being on several Android devices as I know.

I'm using Unity 4.1.5 with NGUI 2.6.3 and 2.6.4. (not tested with the latest version of Unity and NGUI 2.6.5)

Cheers,

-Kim

3
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 26, 2013, 02:11:10 AM »
@kimsama

Would you be able to upload the changed files for me? I dont have developer access, but would like to test the code on the 6 devices I have.
Thanks


Just download the patch file from the following:

https://gist.github.com/kimsama/6315839

Then, apply it to the NGUI 2.6.4. (You don't need to have pro version, just a standard version from AssetStore is ok)

That's all.


4
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 25, 2013, 08:23:51 PM »
I've posted a patch to fix the problem at the following link:

https://gist.github.com/kimsama/6315839


I've tested that patch with LG Optimus-G and checked it works fine.

It would be appreciated if there is anyone who dare test that patch and let me know the result.

And any feedbacks are welcome.

Thanks to @myevan_ for providing the patch.  :)

We've tested several android devices which are known has the font problems and checked that the problem has gone.

The device models what we've tested are below:

 - Optimus Vu
 - Optimus Vu2
 - Optimus LTE3
 - Galaxy S2 LTE
 - Galaxy S3 LTE
 - Galaxy Note


5
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 25, 2013, 08:18:31 PM »
It's another script? or should I replace some NGUI script?

@jeldrez

I'm not a user of NGUI-pro, so the version of NGUI I've used it is v2.6.4 from AssetStore.

And yes, the patch needs modifying of the existing NGUI script code.

Could you tell me what's the model of the device you've tested?



6
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 25, 2013, 08:14:43 PM »
This is working for me!

Thanks for the testing!

By the way, what's the model of the device you've test?



7
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 23, 2013, 12:38:51 AM »
I've posted a patch to fix the problem at the following link:

https://gist.github.com/kimsama/6315839


I've tested that patch with LG Optimus-G and checked it works fine.

It would be appreciated if there is anyone who dare test that patch and let me know the result.

And any feedbacks are welcome.

Thanks to @myevan_ for providing the patch.  :)

8
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 22, 2013, 12:19:00 AM »
Quote
Is that example reported to Unity as a bug? If so, what's the case #?

I'm not sure it was reported as a bug or not. Let me check it to whom committed that to the github.


9
NGUI 3 Support / Re: Dynamic font randomly don't show properly
« on: August 21, 2013, 02:43:44 AM »
For the problem which is randomly disappearing of dynamic fonts, also seeing the following page may be helpful:

https://github.com/myevan/unity-examples

We've been testing that problem on various devices and it is known as it is only happen on some Android devices.

And it seems to be a bug on Unity side, especially inside of Font. RequestCharactersInTexture() function.

See the code how to fix that disappearing problem on that page:

https://github.com/myevan/unity-examples/blob/master/Assets/App/Scripts/DynamicFontTester.cs


As it is mentioned, the bug is on Unity side but it seems that it can be quickly fixed for NGUI's dynamic fonts.

Hopefully it will be...

-Kim

[EDIT]
When the standard version of 2.6.5 will be available on assetstore? I read the release note which says that dynamic fonts problem solved in 2.6.5.



Pages: [1]