- Home /
Render problems in web build (wrong colors)
I'm working on a project that is to be used on a webpage. Sometimes there's a strange bug: everything is rendered dark, or with strange colors (as if the colors are multiplied with correct render). It only affects the 3D stuff (not GUI textures and the like). I can't find a clear way to reproduce it, I first had it a couple of weeks ago for a couple of days, but I haven't had it on my pc since then, but now we get the same issue on other pcs.
I have no idea what could possibly cause this,
honestly, it seems more like a Unity bug rather than something I'm dooing wrong.
EDIT:
testing showed that the problem only appears with Deferred Rendering (which I need because of an other issue with Forward rendering)
And the problem disapppears (temporarily, while the webpage is open) as soon as something is rendered with a default diffuse shader. (which I normally don't use)
Definatley seems like a Unity bug
Answer by Steven-1 · Jun 06, 2013 at 07:33 AM
We found it has to do with the version of the Unity WebPlayer.
The problem doesn't occur with the latest version, only with a previous version. So it seems this is an issue that got fixed in a (fairly) recent update.
So our solution now is to first detect the version of the webplayer, and if it's lower than 4.1.3, we demand the user to download the newest.
Edit: Not solved, apparently it still happens in the latest version (just less often).
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
How can i share a web build online? 2 Answers
Weird screen corruption in web build? 0 Answers
Cursor disappearing in webplayer 1 Answer
WebPlayer Build 1 Answer