Blurry GUI.DrawTexure when run on iOS Device

hi,

I am loading my texture from external path using following code

public Texture2D getTexture2D(string forPath) {
	Texture2D tex = new Texture2D(256, 256);
	tex.LoadImage(System.IO.File.ReadAllBytes(forPath));
	return tex;
}

I am displaying this texture using GUI.DrawTexture.
In Mac it displays fine. but when I deploy it on device, the texture displays blurry. Any Idea about how I can display it clear as in mac.

thanks in advance

Sounds like you need to change your image’s Texture Type to “GUI” in the Inspector. It is set to “Texture” by default.

I am loading texture from an external path not in unity Asset folder. Path like this

//mac/myexternalFolder/textername.png

so I can not set that as textures are coming out from unity project.

Could not resolve it yet…

any texture we load from external path can’t be shown as clear in iOS Device?

please bug report it with smallish repro (as it should work out-of-the-box)

@Alexey Sorry I could not understand what you mean by smallish repro?

the small project that shows the issue. And by small i mean small - one scene, one texture, one script plus when running on device we can see what you mean

Its done… I just selected Fantastic in Quality Settings in my project.

Edit->Project Settings->Quality

I selected Fantastic under iPhone icon for Default level.

and case number? :wink:

i think that switched on msaa - can you just check if that’s msaa to blame? You can enable/disable it at runtime through QualitySettings.antiAliasing

case number is xxxxxx :wink:

Is that fine to use? any burdon on processing or memory?