Search Unity

Updating UXML Schemas in 2019.1b

Discussion in 'UI Toolkit' started by Parabol83, Feb 4, 2019.

  1. Parabol83

    Parabol83

    Joined:
    Nov 19, 2013
    Posts:
    6
    How do we go about doing this for the Non-experimental visual elements, as the menu option refers to the Experimental versions.
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231
    Looks like this was missed in the namespace migration. Fix is needed on our end. Until then, you can search-and-replace "Experimental.UIElements" with "UIElements" in the schema files to fix locally.
     
    Parabol83 likes this.
  3. Parabol83

    Parabol83

    Joined:
    Nov 19, 2013
    Posts:
    6
    It looks like the internal UIElements now update schemas properly in 2019.1b2, but custom UIElements derived from them do not.
     
  4. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    780
    As you observed this was fixed in 2019.2.0a3 and 2019.1.0b3 as we removed the Experimental API completely.

    Not sure what the problem could be for custom elements since the generator will use whatever namespace they are defined inside.
     
  5. Parabol83

    Parabol83

    Joined:
    Nov 19, 2013
    Posts:
    6
    As of b3 it is exporting correctly, thank you :)