Trail Render not become visible during game play

I was working on simple 2d game and in that at player end, I want to attach trail effect. So I have added trail renderer component by creating child empty gameobject.

Also I have set proper trail rendering order as well. Here are more details with images so please check these:

Actual trail get drawn but not visible on game or in scene area.

Here is the component values those I set for trail renderer:

Now I hope you got my point so please share your suggestion regarding this.
Thank you for giving time for this question :slight_smile:

Here I have captured one more image with more details about trail.

Have you tried with the default particle, and if you remove the objects on your foreground and background layers, is the trail visible? Also had trouble with trails but I can’t see what could be wrong with your settings…

yes if I try with removing foreground and background layer objects then trail renderer become visible.

for more better understanding, I have decided to put demo project link over here so you can download and check what is exactly wrong into this.

I have solved this problem after doing some tries. Here I am posting an answer so this become useful to other members.

I require to set Material type to Mobile/Particles then after it become visible within game play. Though sorting order related setting is necessary that I was did before. But material related settings I don’t knew before.

9 Likes

Thank you bro ya it was useful to me

thanks buddy

Please use the Like button to show your appreciation so as not to necro old threads.

Thanks.