Sprites dark on iPhone 4G with Unity 3?

I have a bunch of Sprites with Diffuse and Transparent/Diffuse shaders that look fine in Unity 3 on my Mac, but when they run on the iPhone 4 they are black. Other sprites with the same shaders are not black. Does anyone know what could cause this or is this a Unity 3 bug?

  1. The Render Settings are the same for levels that have the black and non-black sprites.
  2. The camera settings are the same for the levels that have the black and non-black settings.

Anything else that I could check that might be causing this?

http://forum.unity3d.com/viewtopic.php?p=190984#190984

:?:

I don’t know how this relates to Unity 3. Haven’t dealt with this since I made that post.

check the textures, potentially you had them on compressed and now need to fix the import settings

@Jessy: How do you check that GetPixels/SetPixels is set on the texture? I.E. I couldn’t find this attribute on the texture in Unity3.

its there but only if you set the texture to the right type, which means Advanced (which makes sense cause you need some more than standard knowledge on the matter to not kill your apps performance with it)

@dreamora:

  1. I have the Texture Type set to Advanced but I don’t see GetPixels/SetPixels. Can you tell me where it is?

  2. Also I have the box checked that says “Override for the iPhone” Is that correct?

  1. Right there :slight_smile: “Read / Write enabled”

  2. you edit it on the default settings, assuming its an iphone project

@dreamora:

I clicked the “Read/Write enabled” button on the Texture and applied it and still the texture is black on the iPhone 4G.

  1. I have “Generate Mip Maps” checked. That shouldn’t be a problem, right?

Hello aerende,
please submit a bug report with simple repro project.
Thanks!

@ mantasp:

Thanks, I submitted a bug report.