Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Build time taking almost a day - URP

Discussion in '2021.2 Beta' started by RenOli, Jun 29, 2021.

  1. djarcas

    djarcas

    Joined:
    Nov 15, 2012
    Posts:
    226
    The only thing I could really improve there was to disable hard shadows, which I did. This shader doesn't use shadows (I believe?) and therefore shouldn't be affected by it.

    But - this was a 100% warm build - what was the 4.5 (est) hours spent doing? 0 shaders should have been compiled, and Unity definitely shouldn't have taken half a working day to go "Yup, no work to be done!" - the only change between those 2 builds was the changing of a single piece of whitespace in a random script file.
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,739
    And none were. It was figuring out which variants it needs, then reading them from the local cache on disk. If you can't change your settings to use less different options, you'll have to live with this, at least for now.
     
  3. Kazoos

    Kazoos

    Joined:
    Nov 28, 2012
    Posts:
    17
    I don't fancy your cloud build bill.
     
    Immu likes this.
  4. alynnferguson

    alynnferguson

    Joined:
    May 6, 2021
    Posts:
    1
    Any updates on this? We're using 2021.3.15, and we're still seeing 14h cold builds. It's making it damn near impossible to troubleshoot errors that only show up in build.
     
  5. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,739
    @alynnferguson please read this thread carefully, there's several messages with links describing what you could do to reduce the cold build times.
     
    Immu likes this.
  6. ionutbaza26

    ionutbaza26

    Joined:
    Jul 21, 2022
    Posts:
    3
    What a terrible system . Using just the default shaders, absolutely ZERO custom shaders and the build time is still INCREDIBLY long (like 15x times) compared to built in.


    No one in their right minds should use anything else but the built in. Its stable, fast , bug free absolutely superior to this slug thing called urp.
    Just get back to supporting built in and burry this thing 5 feet deep in the ground.
     
    Last edited: Mar 16, 2023
    spider853 likes this.
  7. SharpAccent

    SharpAccent

    Joined:
    Jul 19, 2018
    Posts:
    19
    So, from October till now, nothing yet?
     
  8. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,739
    #276