- Home /
TrailRenderer not rendering
Hello guys, I need a little help of yours with this. I've put a TrailRenderer on a Game Object, but strangely, it's showing the trail in Unity's viewport, but not in the game one.
I've added the object to a higher layer and stuff via code, I have no background (the black is from the skybox), so I'm quite sure I'm missing something really obvious, or this is a bug. Would really like some help =)
Yea, as you can see in the above viewport, the object is moving in a sine wave pattern.
The main thing I'd think to check is the camera, for any gotchas. $$anonymous$$aybe all of the trail polys are perpendicular to the camera, or it's not rendering that layer, or anything along those lines.
Your answer
![](https://koobas.hobune.stream/wayback/20220613155933im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Creating a Masking Object with Variable Pass Through 0 Answers
Unity 5 Custom Deferred shader 0 Answers
Why is this issue occurring with my models? 1 Answer
Object see-through when rendering mode is set to Fade 1 Answer
Cutting hole in water plane using stencil buffer.Help making it visible from both sides. 0 Answers