Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Is there a way to prevent recompiling packages repeatedly?

Discussion in 'Package Manager' started by OmegaNemesis28, Jul 27, 2020.

  1. OmegaNemesis28

    OmegaNemesis28

    Joined:
    Dec 1, 2012
    Posts:
    70
    In this thread [https://forum.unity.com/threads/2019-3-slow-build-times.929508/#post-6083562] I'm looking at long script compile times in my project. To summarize, the top libs are:

    Something like Unity.Mathematics I don't want to recompile every time I make a script change in my project, especially for unrelated code. If I add a line of debug logging, and do a script only compile, I have to wait roughly 7 seconds for Unity.Mathematics to compile despite no changes being made to it.

    I know caching different combinations of binaries can be complicated, but I was thinking of making my own system if this isn't supported by Unity directly. I rather not waste time if it exists though!
     
    ImpossibleRobert likes this.
  2. OmegaNemesis28

    OmegaNemesis28

    Joined:
    Dec 1, 2012
    Posts:
    70
  3. OmegaNemesis28

    OmegaNemesis28

    Joined:
    Dec 1, 2012
    Posts:
    70
  4. OmegaNemesis28

    OmegaNemesis28

    Joined:
    Dec 1, 2012
    Posts:
    70
  5. Shaunyowns

    Shaunyowns

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    145
    OmegaNemesis28 likes this.
  6. OmegaNemesis28

    OmegaNemesis28

    Joined:
    Dec 1, 2012
    Posts:
    70
    Awesome, thank you so much! :)
     
unityunity