Antialiasing on Render Texture in web player

I am experiencing that Render Textures don’t work properly in some browsers when antialiasing is used on the Render Texture – both when created from script and when created in editor.

Right now, I can only make it work properly in Chrome. In Safari and Firefox, the Render Texture just shows up as a very strange texture, composed like a patchwork of other textures.
Even more strange is that I recall that it has been working in at least Safari.
(I have only tried these three browsers, and only on OS X)

My solution is just to disable antialiasing on the Render Textures when building for web, but I just wanted to share my experience, in case others might have the same problem.

Best regards Jakob

PS. my system info:
Unity version: (Unity Pro) 4.6.1f1
Operating system: OS X 10.10.1

Can you show a screenshot of the patchwork texture?

Yes, here is an example of how it can look:


It is just a quick test project that I made.
It is an ortographical camera rendering a plane with a material with a render texture as texture.
The render texture is rendered into by another camera looking at a cube, and the antialiasing on the render texture is set to 4 samples.
I have also uploaded the build here: http://4-to-one.dk/RendTex/
In my Firefox and Safari it looks something like the above image, but in Chrome it looks fine (showing the cube).

Best regards Jakob

I suggest trying a different texture format for the RT. If that doesn’t work, for the short term I’d turn off AA.

Either way that’s bug report territory, though, so make sure you do that and attach your repro case.