Everything is rendering pink in a build

Hoping someone can help me out with an issue that I’m having. I’m building an application for Meta Quest VR headset (an Android device). Something has changed in my project/setup recently which is causing everything to render as pink - but only in a build. Running in the editor is fine. It’s almost as if Unity is missing some shader references at runtime.

I’m using:

  • Universal Render Pipeline version 14.0.9.
  • Unity 2022.3.16f1

I have tried building a single scene with just a cube and a camera. The cube is using the built in standard shader.

Bumping… really hoping to get some help debugging this

When you say ‘everything is pink’ - is the scene fully pink or can you see individual objects? In the test scene you describe, is the cube pink but the skybox or camera clear colour visible, for example?

(I’m trying to determine if it’s a postprocess shader that is not compiling, or your object shader)

Thanks for the reply.
All objects are rendering pink. The default scene skybox is not visible, but the camera clear color is (that dull blue color which is the default clear color).

I don’t use any post processing in the project

adrian-taylor09 same, some of my shaders are not included in build, which issue does not happen before this version 2022.3.16f1.
There must be something breaking in this version.
In the meantime, try collect a scene and its objects inside along with the shaders, then export to some stable version like 2022.2.1f1 then try a build there. If you can build with those shaders in lower version, consider submitting a bug report.

-EDIT!-
wrong on my part. I forgot to include the new shaders in my custom shader stripping solution.
The shaders now work on build well.
So back to square one on your problem…
I think it’s something with fullscreen post processing effect. Try disable them, or put them in the AlwaysIncludeShader list to test.

thanks for the suggestion. In my case there are no post processing effects used.