Search Unity

How To Upgrade Your Project to URP in Unity 2021.2.0b3

Discussion in 'Universal Render Pipeline' started by stamatian, Jul 14, 2021.

  1. stamatian

    stamatian

    Joined:
    Jul 13, 2018
    Posts:
    36
    Hi,
    Is it possible to convert assets from Standard to URP? I can't find the option:
    Edit > Rendering > Materials > Convert All Built-In Materials to URP
     
    SkywardRoy and Protagonist like this.
  2. Protagonist

    Protagonist

    Joined:
    Dec 22, 2010
    Posts:
    27
    It looks like it has moved to Window > Rendering > Render Pipeline Converter.

    I had to press the Initialize Converters and then the Convert Assets buttons.
     
  3. stamatian

    stamatian

    Joined:
    Jul 13, 2018
    Posts:
    36
    I never expected to find it there!! Thanks @Protagonist :)
     
  4. Thygrrr

    Thygrrr

    Joined:
    Sep 23, 2013
    Posts:
    700
    This feature completely mangles my (small!) project in 2021.2.b6, if it even finishes trying so, so I do not recommend it.
     
  5. martint_unity

    martint_unity

    Unity Technologies

    Joined:
    Jan 11, 2018
    Posts:
    15
    @Thygrrr I would love to hear which converters you initialized and what happened.
    If you only initialize the Material Converter and run converters, is it still "completely mangled"?
    It is a new system and we would like to get feedback so all feedback is welcome.
     
  6. Thygrrr

    Thygrrr

    Joined:
    Sep 23, 2013
    Posts:
    700
    In principle, the feature sounds like a good improvement over the old upgrade workflow.

    The material converters will simply not finish running in 2 out of 3 cases, (but seem to keep busy - endless loop?) and even a "successful" run logs errors aplenty.

    The engine will then display a internal assertion failure regarding camera virtual render targets at any opportunity, making testing with Error Pause on a nightmare.

    I use a camera stack, but I don't use render textures. I thought it had something to do with post processing, but it's just the overlay cameras, even with a freshly created default renderer on a virgin pipeline asset.

    Most materials don't seem like they were touched at all. (my main materials were URP 11 mats).

    The project is fine in 2021.1, and I selected the Upgrade path from a previous URP.
     
  7. martint_unity

    martint_unity

    Unity Technologies

    Joined:
    Jan 11, 2018
    Posts:
    15
    @Thygrrr thanks for the explanation.
    I just want to clarify one thing. Do you have all the converters enabled when you click Initialize Converters and Run Converters? Or only 1 (Material Converter)?
    I just want to figure out in which converter the issue might come from. We have a few converters already.
    Kind regards
    //
    Martin
     
  8. DgoodingIndi

    DgoodingIndi

    Joined:
    Feb 8, 2012
    Posts:
    43
    I just recently updated Unity to 2021.2, and discovered this is a thing.
    Is there any plans on actually letting us drag specific materials into the upgrader?
    atm using checkboxes is borderline unusable for any projects that aren't brand new.

    Edit: I am realizing now, I should just upgrade Materials in a sandbox project. Annoying, but usable.
     
    Last edited: Dec 19, 2021
    mivasiliauskas and Dev-4U like this.
  9. Dev-4U

    Dev-4U

    Joined:
    Nov 2, 2021
    Posts:
    23
    Last edited: Dec 22, 2021