Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to place UI Document in Scene

Discussion in 'UI Toolkit' started by DukeGrimm, Jan 21, 2021.

  1. DukeGrimm

    DukeGrimm

    Joined:
    Sep 29, 2012
    Posts:
    61
    I'm looking to add a UI Document to the scene as is shown in some tutorials and in the example project, but I'm not seeing such a game object type, nor am I finding that component.

    Did something change, or am I doing something wrong?

    I'm running 2021.1.0b2, UI Builder 1.0

    Thanks!
     
  2. RKar

    RKar

    Joined:
    Mar 6, 2019
    Posts:
    22
    It is component. Work fine in upload_2021-1-21_16-3-31.png upload_2021-1-21_16-4-42.png
     
  3. DukeGrimm

    DukeGrimm

    Joined:
    Sep 29, 2012
    Posts:
    61
    I don't think it works in 2021.1, as there is no option to download a preview version even when pre-releases are turned on in the package manager.

    The demo project using 2020.2.0b11 works fine, no issues with finding UI Document gameobject/Component.

    I'll just transfer my work to the 2020.2.0b11 till they sort it out.
     
  4. Yecats

    Yecats

    Joined:
    Jul 13, 2014
    Posts:
    69
    @DukeGrimm - You can install it in Package Manager by putting the URL (com.unity.ui) directly in it:

     

    Attached Files:

    N likes this.
  5. JuliaP_Unity

    JuliaP_Unity

    Unity Technologies

    Joined:
    Mar 26, 2020
    Posts:
    666
    You're right, the latest release (preview.13) is not compatible with 2021.1 - a new one is coming soon to address that!
     
    Lurking-Ninja likes this.