Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: PickySalamander on October 11, 2013, 12:45:55 PM

Title: Pink Interface on Some Machines
Post by: PickySalamander on October 11, 2013, 12:45:55 PM
Hey,

I've been using NGUI for a while now and this is the first time I've come across this error, which is a strange one. On a certain machine of my client's company all the NGUI interface displays as pink boxes. I know when textures don't display properly in Unity they show up as pink. This though appears to only happen on a couple of the 50 machines my application is on. The one machine they let me look at is pretty ancient and I suspect the graphics card just can't handle the shader used. I wanted to see though if there are quick things I can do to resolve this problem.

Here are Unity specs:

Unity 4.2.1f4
NGUI 2.7.0

I attached a DXDiag screenshot to this post of the machine that is having problems. I'm trying to get a Unity log from them as we speak, I will post that when I get it.

Thanks!
Title: Re: Pink Interface on Some Machines
Post by: Nicki on October 11, 2013, 05:54:22 PM
If it shows pink, it's almost 100 % certainly that the graphics card doesn't support the shaders used.
Title: Re: Pink Interface on Some Machines
Post by: PickySalamander on October 16, 2013, 07:57:58 AM
If it shows pink, it's almost 100 % certainly that the graphics card doesn't support the shaders used.

Yeah I figured that maybe the problem, but I wanted to do some due diligence before I gave up completely. I finally got the Unity log from them and it's attached. There were a couple interesting messages in this log:
The last of which I think is a DirectX problem, which I'll have them re-install. I assume the two unsupported shaders are the ones NGUI needs in order to render properly. Would the missing dll cause the two shader problems?
Title: Re: Pink Interface on Some Machines
Post by: ArenMook on October 16, 2013, 01:10:23 PM
Pull the Unlit/Transparent Colored shader from the 3.X version. It re-adds the fixed function pipeline support.

Your videocard basically doesn't support shaders. This usually also happens when your quality is set to "fastest", as that too disabled shader support.
Title: Re: Pink Interface on Some Machines
Post by: PickySalamander on October 16, 2013, 01:35:36 PM
Thanks, I'll give that a try and see if it works.
Title: Re: Pink Interface on Some Machines
Post by: PickySalamander on October 24, 2013, 09:07:56 AM
I updated to the most recent version of NGUI and everything seems to work fine now. Thanks for the help!