Bug with _TexelSize on OSX

Hi,

I just wrote a guassian blur shader and I have discovered what seems to be an issue on OSX using sampling from a Texture2D using the _TexelSize to do offsets.

In the test I set up I am using guassian blur on the cloud layer of this planet. This is the ‘correct’ (but over exaggerated) output (I performed 30 passes!).

When I render this on OSX (either web player or application) this is the result. The blur pass is being performed but all my uv offsets are offsetting by 0 (i.e _TexelSize) is not accurate.

I find this odd as in the editor on OSX everything looks fine, it’s just when an application bundle is built or web app is accessed.

I have worked around this issue by passing the texel offset into my material manually. But this is a tad tedious.

(I also had another issue here which I raised in support but it seems to have been missed: http://forum.unity3d.com/viewtopic.php?t=43823)