Search Unity

Runtime package 0.0.4

Discussion in 'UI Toolkit' started by JoNax97, Feb 3, 2020.

  1. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    Is the package "com.unity.ui.runtime": "0.0.4-preview" older or newer than the one included in the demo project?


    Going forward, which one do you recommend we use for experimenting? (Yes I know it's not formally release, but I'm having a blast tinkering with it and would like to migrate my test project from editor to runtime)
     
  2. mansiva2000

    mansiva2000

    Joined:
    Jul 2, 2013
    Posts:
    9
    HugoBD-Unity likes this.
  3. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    Thanks!
     
  4. StephanieRowlinson

    StephanieRowlinson

    Joined:
    Jul 23, 2014
    Posts:
    137
    Where did you get the 0.0.04 package? I can't see it in the package manager window in 2020.1. :S
     
  5. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    It's not currently visible, you have to add it to the manifest by hand. I heard of it in a thread in the new input system subforum
     
  6. joeDahlFisher

    joeDahlFisher

    Joined:
    May 25, 2020
    Posts:
    1
    Add it to the manifest by hand! That was the magic I was looking for!
     
  7. WAYNGames

    WAYNGames

    Joined:
    Mar 16, 2019
    Posts:
    991
    com.unity.ui.runtime is not supported, it's the old version and name of the pacakge.

    You need to use the new package going forward "com.unity.ui" (no .runtime)

    "com.unity.ui": "1.0.0-preview.3"
     
    uDamian likes this.
  8. guodan

    guodan

    Joined:
    Dec 22, 2016
    Posts:
    29

    I have add two dependences in my manifest, but the "uielementsnative" package can't be found.
    upload_2020-8-20_18-0-3.png

    upload_2020-8-20_18-0-17.png
     
  9. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    482
    What even is this? Just delete
     
  10. guodan

    guodan

    Joined:
    Dec 22, 2016
    Posts:
    29
    but the UI Toolkit dependence the UIElementsantive. And now the ui toolkit can't use.

    upload_2020-8-20_19-9-15.png

    upload_2020-8-20_19-9-40.png
     

    Attached Files:

  11. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    482
    UIElements native is bult-in module you dont need to add him to manifest manually. Check maybe you disabled him. Are you using 2020.1?
     
    Last edited: Aug 20, 2020
  12. guodan

    guodan

    Joined:
    Dec 22, 2016
    Posts:
    29
    I used 2019.3, after I switch to 2020.1, it's all right. Thanks, Onigiri :).