Author Topic: Pink Interface on Some Machines  (Read 3609 times)

PickySalamander

  • Guest
Pink Interface on Some Machines
« 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!
« Last Edit: October 16, 2013, 07:58:26 AM by PickySalamander »

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Pink Interface on Some Machines
« Reply #1 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.

PickySalamander

  • Guest
Re: Pink Interface on Some Machines
« Reply #2 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:
  • Unsupported: Hidden/InternalClear
  • Unsupported: Unlit/Transparent Colored
  • XInput1_3.dll not found.
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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Pink Interface on Some Machines
« Reply #3 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.

PickySalamander

  • Guest
Re: Pink Interface on Some Machines
« Reply #4 on: October 16, 2013, 01:35:36 PM »
Thanks, I'll give that a try and see if it works.

PickySalamander

  • Guest
Re: Pink Interface on Some Machines
« Reply #5 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!