SRP Support

SRP Support for Samples (URP & HDRP)

If the scene opens and shows any broken (pink) materials, then you might be using either URP or HDRP in your project. To migrate the sample scenes open the Samples/Content/Materials folder, select all materials and then navigate to the menu specified below:

URP

Select all of the materials and go to Edit -> Rendering -> Materials -> Convert Materials

This will convert the materials for use with URP. Once complete, the scene should appear normally again.

HDRP

Convert Materials

Select all of the materials and go to Edit -> Rendering -> Materials -> Convert Selected Built-in Materials to HDRP

This will convert the materials for use with HDRP. Once complete, the scene should appear normally again.

Sky & Fog Volume

Additionally for HDRP you may want to add a Sky and Fog volume into the scene (otherwise the lighting may look strange).

Simply right click on the Hierarchy window and choose Volume -> Sky & Fog Volume - this will automatically add a Volume into the scene and configure the sky / global lighting correctly for HDRP.

Last updated