Trail renderer + Line renderer weird behavior

Hi,
I’m experiencing a weird thing: a trail/line renderer, given a .png texture, draw it correctly on older iphones/ipods, but draw it black on iphone4/ipad2.
The texture is a yellow/transparent arrow. It comes out yellow on the editor/debug and on older ipods, but it becomes black on newer hardware.

Anyone with the same problem?
Do trail/line renderers have known bugs on iOS?

Thanks, Pasko

Probably it’s a shader problem, I remember there was another thread about this issue… Anyways, try to use this flat shader for trails, I use it in my game and it works perfectly on iPod Touch 4G.

Shader "Trail Shader" {
Properties {
	_Color ("Main Color", Color) = (1,1,1,1)
	_MainTex ("Texture", 2D) = "white" {}
}

Category {
	Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
	ZWrite Off
	Alphatest Greater 0
	Blend SrcAlpha OneMinusSrcAlpha 
	SubShader {
		Material {
			Diffuse [_Color]
			Ambient [_Color]
		}
		Pass {
			Cull Back
			ColorMaterial AmbientAndDiffuse
			Lighting Off
        	SetTexture [_MainTex] {
            Combine texture * primary, texture * primary
        }
        SetTexture [_MainTex] {
            constantColor [_Color]
            Combine previous * constant DOUBLE, previous * constant
        }  
		}
	} 
}
}

I’ll try, thank you.
I’ll let you know asap (it will take a day or two, now I’m busy on another project).

It works perfectly!
Thanks again, Pasko