Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Pink default shaders...

Discussion in 'Universal Render Pipeline' started by Slashbot64, Mar 15, 2021.

  1. Slashbot64

    Slashbot64

    Joined:
    Jun 15, 2020
    Posts:
    43
    How when you use URP pipeline and import assets, where the have models are using the Default-Diffuse shader that is appearing PINK..

    Even if you use the URP upgrade graphic project/selected materials.. nothing works.. these objects that have the Default-Diffuse shader stay PINK, you can't even select this material in the project assets, as it is hidden, built in whatever... on a project that was setup from the beginning with URP.

    Is there some material replacement tool to just replace all prefab/model Defaul-Diffuse materials with something that actually does work in URP.

     
  2. erikabar

    erikabar

    Unity Technologies

    Joined:
    Jan 26, 2017
    Posts:
    36
    Hey @Slashbot64, you need to upgrade your materials to Universal RP in Edit > Render Pipeline > Universal Render Pipeline > then select either Upgrade Project materials to URP or just the selected ones.
    Please note that this will change the shader on your material, so if you want to go back to Default-Diffuse, you will have to change that manually (or have a backup copy)
    Screenshot 2021-03-18 at 12.06.16.png
     
  3. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,136
    Just a tip :
    First select and change your all material's shaders to the Standard shader
    Then use URP/HDRP material converter to convert materials to the urp or hdrp

    Some legacy or custom shaders can not be converted properly using URP/HDRP converters
     
    erikabar likes this.
unityunity