- Home /
Web player screen corruption
A Web Player issue that some players have reported, but i have trouble replicating.
A texture drawn by this function in OnGUI script is being corrupted as displayed in linked file
GUI.DrawTexture (new Rect (0, 0, Screen.width, Screen.height), background);
http://savepic.net/6059524.png
Another texture in the same OnGUI call works just fine, though (speech bubble)
Any help with resolving this (or at least info on what it can be about) would be appreciated
Web player is set up to have 1024x768 resolution
Answer by iwillbenice · Apr 15, 2016 at 10:21 AM
Try change import settings to 24 or 32 bit. Worked for me. Looks like Unity web player do not like compressed images.
Your answer
![](https://koobas.hobune.stream/wayback/20220613162635im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Change GUI.Button Texture on runtime 1 Answer
OnGui Function help 1 Answer
Making texture cover whole button 1 Answer
GUI.DrawTexture on GUI.Button press 1 Answer