Search Unity

Bug Is UI Builder not compatible with 2020.1a11?

Discussion in 'UI Toolkit' started by jGate99, Nov 4, 2019.

  1. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,940
    Hi there,

    I imported UI Builder and getting these errors.
    Please advise

    Capture.PNG
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231
    Unless you really need to use the latest alpha 2020.1, I would recommend sticking with 2019.3 beta. The UI Builder relies on some internal APIs to do what it does which don't have the same stability as public APIs. The result is that the Builder will break more often on alpha builds where development is active.

    A new patch version is in flight and should land soon that will fix the Builder for 2020.1.0a11 and newer (and very likely break it for older versions of 2020.1).

    That said, the error you see above seems like a scripting issue. That API difference is fixed in 0.8.3-preview but I noticed sometimes the
    #if UNITY_2020_1_OR_NEWER
    doesn't always take proper effect. Try a Reimport All on your project.
     
    jGate99 likes this.
  3. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,940
    Thanks Damian,
    I'll switch to 2019.3
     
  4. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231
    Just an note that UI Builder 0.8.4-preview is out now which should improve stability with 2020.1.
     
    jGate99 likes this.