Negative scale causes problems with normals

I have a custom shadergraph with animates normals and applies them to a plane, but if I invert the plane by giving it negative scale, then it seems to change color.

I tested it and it works fine with no normals.

If it isn’t flipped, it works fine as well. The problem only occurs when flipping on the Z axis, but not the X axis for some reason

I am using unity 2021.3.14f1, the problem happens in scene and game view.


Fixed it! I was plugging in tangent space normals into object space normals, when wired correctly it works perfectly fine!