URP 2D normal map is flipped when I turn the object horizontally.

, ,

In URP 11, there is a bug in which the top and bottom of the normal map are flipped when the object is reversed to the x-scale -1 or 180 degrees to the y-axis.

URP 12 has the same bug.

I also tested it with a dragon crasher. It shows the same bug.(Attached screenshots)

Reproducible with: URP 11.0.0 (2021.1.13f1), 12.0.0 (2021.2.0b14)

7557352--934648--화면 캡처 2021-10-08 223109.jpg
7557352--934651--화면 캡처 2021-10-08 223122.jpg

Hi, can you report this as a bug so we can track it internally.

This person solved the problem of y180 degree rotation. I hope you can check it out.

I submitted a bug report.

Thank you.

As a workaround, are you able to use Flip property on the Sprite Renderer to achieve the correct normals?
7568305--936964--upload_2021-10-13_16-2-54.png

This function works correctly.
However, if you need to move multiple skined sprites (such as a typical character), you need to flip the parent object, so this function is not effective.