Metallic Parameter corrupted in my project

Hello,

When I try to set a metallic value to a shader in Unity, this shader turns black. I tried with shaders made with shadergraph ant the basic URP/Lit too, same issue. If I do exactly the same in a new project (not in a new scene), I have basic reflections, so it works.

What i have already tried :

  • Uninstall and reinstall URP
  • Reset all lighting settings
  • Bake lighting settings
  • Use basic shader (URP/Lit)
  • Remove all render features
  • Delete and recreate Renderer
  • Check and compare ALL settings in project settings
  • Add a reflection probe

For information, reflection probe seems not to work. If I choose “Baked” and bake, all is black, same for realtime. If I choose “custom” and set a cubemap, only the cubemap is reflected.

I use Unity 2020.3.8f1 and URP 10.5.0

here is a picture with, on the left screen, a correct project, and on the right, my "corrupted’ project (where lighting is yellowish):

Thanks !

Ok, I found the problem. It come from a render feature. If I deactivate it and bake again all refelction probes, it works.
I checked why this render features bugs, and find that :
My render features apply an effect on image rendered with an hlsl material. To call the actual image rendered, I use “_CameraColorTexture” … who doesn’t have reflections. If I just return the “_CameraColorTexture” texture, I lose my reflections.

Why it doesn’t work … I don’t know. Error in my side or issue in URP, I don’t know…