Hi, I have a shader error that might sometimes leave the game in a white screen. I have tried to fix it but I only seem to create more errors. The error occurs on the for loop for me. Shader error in 'DSS/UI/Blur': unable to unroll loop, loop does not appear to terminate in a timely manner (721 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number at line 131 (on d3d9) Shader error in 'DSS/UI/Blur': unable to unroll loop, loop does not appear to terminate in a timely manner (45 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number at line 131 (on d3d11_9x) Code (CSharp): float2 pix = float2( 1 / _TexWidth, 1 / _TexHeight ); color = ((tex2D(_MainTex, IN.texcoord) + _TextureSampleAdd) * IN.color) / _Fineness; // #if SHADER_API_D3D9 || SHADER_API_D3D11_9X // [unroll(45)] // #endif for ( int i = 0; i < _Fineness; ++i ) { half4 fcol = float4(0, 0, 0, 0); col += ((tex2D(_MainTex, IN.texcoord + float2(pix.x * i, 0)) + _TextureSampleAdd) * IN.color) * 0.125; fcol += ((tex2D(_MainTex, IN.texcoord + float2(pix.x * -i, 0)) + _TextureSampleAdd) * IN.color) * 0.125; fcol += ((tex2D(_MainTex, IN.texcoord + float2(0, pix.y * i)) + _TextureSampleAdd) * IN.color) * 0.125; col += ((tex2D(_MainTex, IN.texcoord + float2(0, pix.y * -i)) + _TextureSampleAdd) * IN.color) * 0.125; fcol += ((tex2D(_MainTex, IN.texcoord + float2(pix.x * i, pix.y * i)) + _TextureSampleAdd) * IN.color) * 0.125; fcol += ((tex2D(_MainTex, IN.texcoord + float2(pix.x * -i, pix.y * i)) + _TextureSampleAdd) * IN.color) * 0.125; fcol += ((tex2D(_MainTex, IN.texcoord + float2(pix.x * i, pix.y * -i)) + _TextureSampleAdd) * IN.color) * 0.125; fcol += ((tex2D(_MainTex, IN.texcoord + float2(pix.x * -i, pix.y * -i)) + _TextureSampleAdd) * IN.color) * 0.125; color += fcol / _Fineness;[/INDENT] } color.a *= UnityGet2DClipping(IN.worldPosition.xy, _ClipRect); I tried adding the unroll but that seemed to create other problems. Hopefully someone have had a similar problem and can help me out. Cheers all.