Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Upgrade to 2020.2a18: Endless compilation, cyclic references, etc....

Discussion in '2020.2 Beta' started by PhilSA, Jul 22, 2020.

  1. PhilSA

    PhilSA

    Joined:
    Jul 11, 2013
    Posts:
    1,926
    I have a project with several packages that works well in 2020.1b13. I upgraded it to 2020.2a18 and now I'm getting cyclic reference errors and endless compilation. Here are the errors along with package list:


    Any idea what's happening? When looking at the asmdefs, I'm not really seeing why it thinks there are cyclic dependencies
     
    dzamani likes this.
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,738
    had same issue, just went back to 2020.1 rather than deal with it ___ has a lot less issues than latest 2020.2a (where also rider no longer works for me)

    there is no way unitys packages are reference my own libraries which is basically what it was saying for me.

    i'm pretty sure it's the inputsystem package that is breaking everything though
     
    Last edited: Jul 22, 2020
  3. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    777
    I recently had a similar problem with 2020.1, I think that was due to URP 9.0.0-preview.34. I switched to the old preview and it ran again.
     
  4. PhilSA

    PhilSA

    Joined:
    Jul 11, 2013
    Posts:
    1,926
    Ended up fixing it by resetting packages to defaults and reimporting the important packages one by one. There was probably one of the packages in there that was causing issues with 2020.2, but I don't know which one
     
  5. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    777
    I found another problem, currently Input system and UI Toolkit are not compatible. In my case, I had other compilation problems where URP 9 was probably the problem. And then I didn't install the UI Toolkit anymore and solved both problems unnoticed.
     
    b4gn0 likes this.
  6. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,738
    UI Toolkit devs are aware and I believe next version should provide support.