Search Unity

Question How to stop long build times due to compiling shader variants?

Discussion in 'Editor & General Support' started by IncrediblyWalrus, Oct 17, 2022.

  1. IncrediblyWalrus

    IncrediblyWalrus

    Joined:
    Jul 22, 2019
    Posts:
    46
    Hi,

    I don't know what has happened but recently my build times have become such an issue for me, it's time draining and costly, especially since my game is multiplayer to where I need to create builds for me to test.

    Originally, my first-time export was SIX HOURS long, SIX HOURS. That is madness.

    Ever since then, my what was once 2-3 minutes export have become around 7-10 minutes of exporting.
    My game isn't that big, and I don't even think I've installed a lot of shaders.

    ab054b4a4803471ac43ebe997bff8e1d.png

    This is where it hangs, I'm on 2021.3 version.

    Is there really not a way of going about this, or do I have to actually wait for the 2023 supposed fix for this?