Texture is not readable in iphone unity1.7

Hello all

I have an iphone unity 1.7 advanced. and i make progressbar (Health bar) in my game.
I using three texture in progressbar.
All three images use as PSD file. BUT create some error

“Texture is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.”

this error create in iphone unity 1.7 not normal mac unity.
so Please help what can i do.
i have no options for Is readable in iphone unity1.7

thanks in advance.

There is no option to make textures readable in Unity iPhone 1.7. Can you explain how you are implementing your progress bar (ideally with code)? There may be an alternative way to handle this that avoids the error.

thanks for replay

this is the my code in c#

using UnityEngine;
using System.Collections;

public class ProgressBar : MonoBehaviour {

//public HealthController healthController;
public Texture foregroundTexture;
public Texture backgroundTexture;
public Texture2D damageTexture;
//public bool rightSide = false;
float mahi = 1.0f;
public TextMesh test;
public float myText = 1.0f;
//public Car script;
//private gameObject transferValue;

void Awake (){
myText = 1.0f;
Time.timeScale = 0.0f;
}

void OnGUI () {

// Make rect 10 pixels from side edge and 6 pixels from top.
Rect rect = new Rect(20, 20, Screen.width/3-20-40, backgroundTexture.height);

// If this is a right side health bar, flip the rect.
//if (rightSide) {
rect.x = Screen.width - rect.x;
rect.width = -rect.width;
//}

// Draw the background texture
GUI.DrawTexture(rect, backgroundTexture);

//float health = (+0.3f);

// Multiply width with health before drawing the foreground texture
rect.width *= myText;

// Get color from damage texture
GUI.color = damageTexture.GetPixelBilinear(myText, 1f);

// Draw the foreground texture
GUI.DrawTexture(rect, foregroundTexture);

// Reset GUI color.
GUI.color = Color.white;

myText = float.Parse(test.text);

if(myText <= 0.01){
myText = 0.01f;
}
}
}

Um, yes there is. In the import settings, select “Enable Read/Write Pixels” (or similar) option to make the texture readable and writable.

thanks
my problem solved.

thanx