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.
  2. Dismiss Notice

Question How to reduce compilation time for URP game?

Discussion in 'Universal Render Pipeline' started by ClosingTime, Aug 27, 2022.

  1. ClosingTime

    ClosingTime

    Joined:
    Nov 23, 2016
    Posts:
    208
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    This is in the graphics settings of your project.
    You maybe could check the build logs.
    Also using the latest LTS with incremental builds will help a lot for big projects
     
  3. Matt-Cranktrain

    Matt-Cranktrain

    Joined:
    Sep 10, 2013
    Posts:
    129
    This is the mega thread on the topic, plenty of things to try there.

    In my experience, filtering the shader variants helped some, and not building Metal variants helped some. But the biggest help was when Unity improved the automatic shader stripping in one of the more recent versions so if you're able to upgrade to Unity 2021 that'll help.
     
    kenmaready likes this.