TrailRenderer's Vertex Normal is wrong

The normals of vertices created with the TrailRenderer are all strange. This problem is also seen in the LineRenderer.

You can download related videos and Unity packages from the following link.
https://drive.google.com/drive/folders/1ImEaBr1IUzNt4RImm-M_zdsEAHEMo61-?usp=sharing
(Unity 2019.3.0f1)

All renderers in the scene have the same material (including the TrailRenderer).

Note that the TrailRenderer’s Alignment is set to TransformZ, but the normal of the vertex is abnormal even with the View.

Do I not know how to use TrailRenderer?

Make sure “Generate lighting data” checkbox is enabled in the TrailRenderer Inspector.

I checked “Generate Lighting Data”, but they all shaded in the same Normal direction regardless of the direction of the vertex.

5248760--524279--TrailNormalProblem2.png

Ok, report a bug and we will help you further.

Thanks,

Thank you for the answer. :slight_smile:

1 Like

I reported a bug. The case number is 1203456.

1 Like