Hey everyone, I hope you all are having a great time. Recently we've converted our project from URP to HDRP and everything was fine until we tried play testing the pipeline in game. Turns out upon booting the game up everything becomes pink despite not being out of game and scene. Does anyone know what may be causing this error?
#HDRP conversion
1 messages · Page 1 of 1 (latest)
Most materials don't support HDRP (and vice-versa with HDRP's materials). Unity just displays pink when something with materials/shaders goes wrong. To fix this, you need to migrate the material/shader to support HDRP. If it is a material, select the affected materials in the asset view, then click Edit > Render Pipeline > Upgrade Selected Materials to High Definition Materials. If that doesn't work as excepted, or you are using a shader, it will take a bit more work. In that case please reply
You can also refer to the Unity Documentation for more information on migrating: https://docs.unity3d.com/Packages/[email protected]/manual/Upgrading-To-HDRP.html (Note this is for the Built-In Render Pipeline to HDRP, but these things should more or less apply to URP as well)
More documentation specific to material upgrading: https://docs.unity3d.com/Packages/[email protected]/manual/Material-Upgrade.html
But it doesn't display pink always, in scene view everything is rendered normally. I've also already converted all URP materials for HDRP (aside from the leaves seen in the photo for which I didn't bother as I was replacing them anyways). It is only when I hit play it starts rendering everything as pink
Can you send a screenshot of the materials in the asset view, the inspector of the leave material, and the camera properties in the inspector?
Sure thing!
The shader displays hidden internal error because it was a custom shader which I didn't bother porting over as it was going to be replaced anyways.
Is it only the leaf model or everything else?
Everything as provided in the first picture.
If I’m understanding this right this problem only affects the scene view???
No, it only starts being messy in the game tab and not even when viewing but specifically when you hit play
I cloned a scene and it still glitches however none of the newly creates scenes glitch
Fixed it, turns out I forgot to set the render pipeline asset to all graphical settings 🫠. Thank you for the help anyawys!