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

Bug Subscenes + UI entity header failed to load

Discussion in 'UI Toolkit' started by thelebaron, Nov 17, 2020.

  1. AdamBebko

    AdamBebko

    Joined:
    Apr 8, 2016
    Posts:
    161
    @mcoted3d Any updates on this? It's been a very long time now since I've been able to work on my dots project. Rewriting the entire UI isn't exactly in the cards.
     
    olenka_moetsi and adammpolak like this.
  2. WAYNGames

    WAYNGames

    Joined:
    Mar 16, 2019
    Posts:
    939
    I'm sorry to report that my bug report was closed because they were anable to reproduce the issue...

    I made 2 very simple identical project one with latest unity 2020 and another with 2021. I get the error on 2020, not on 2021.

    The unity employee that took the bug report had issue opening the project saying it was missing the entities package and once imported they had no issue.

    The entities package can't be missing has it's a dependancy of the hybrid renderer...

    I made sure they used the same version of unity I did and they confirmed it but no luck.

    It's very frustrating to have so much people able to reproduce the issue with simple steps (https://forum.unity.com/threads/subscenes-ui-entity-header-failed-to-load.1007609/#post-7078942) and yet Unity team not being able to reproduce it. Especcially since the issue is not present in the 2021 unity version...
     
  3. thelebaron

    thelebaron

    Joined:
    Jun 2, 2013
    Posts:
    825
  4. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    970
    We have seen improvements with the upcoming preview.15 release of the com.unity.ui package. It's still too early to be completely sure, but there was a refactor of the assembly definition in the next package that seems to help with this issue. I'll follow back here when we have more details.

    There is also a bug assigned to the DOTS team (1298111), but no progress seems to have happened on their side.
     
  5. Fribur

    Fribur

    Joined:
    Jan 5, 2019
    Posts:
    127
    Not going to file a bug report as there are already plenty (some of which got closed immediately), and just want say the steps posted here are also 100% reproducible for me, and I am stuck between a rock and a hard place: either DOTS is not working, or UIToolkit is not working. Like all in this thread here. Only working "fix" is as posted:

    Its been >month since saying that DOTS is stuck on 2020.3, and more and more other things requiere Unity 2021.x. Getting indication here that DOTS team is not really working on any bugs assigned to them to make DOTS workable on 2020.3 is further oil into the speculation that DOTS might be dead before it is born (see thread linked above). PLEASE UNITY, just start to communicate more on that topic and provide some clarity what is going on. I can accept anything, but nothing is more frustrating than being left in the dark.

    BTW, curious to see an update of this plan according to which every team is "DOTS" by now, i.e. converting their packages to DOTS:
     
    Last edited: Jun 2, 2021
    olenka_moetsi likes this.
  6. WAYNGames

    WAYNGames

    Joined:
    Mar 16, 2019
    Posts:
    939
    FYI issue still ongoing with 2020.3.10f1.
     
  7. adammpolak

    adammpolak

    Joined:
    Sep 9, 2018
    Posts:
    450
    Hey @mcoted3d been a month, was hoping could get an update on this as my project is still blocked because it depends on DOTS + UI Toolkit.
     
  8. olenka_moetsi

    olenka_moetsi

    Joined:
    Apr 29, 2020
    Posts:
    7
    @mcoted3d I too am blocked. Would really appreciate an update on this
     
  9. WAYNGames

    WAYNGames

    Joined:
    Mar 16, 2019
    Posts:
    939
    @Joachim_Ante, I'm sorry to ping you but this issue has been plaging several projects for some time now.
    Maybe the compatibility issue is more on the DOTS side than the UITK side ? But as far as I can tell working with both in Unity 2020 makes it impossible to rely on subscenes.
    My understanding is that the dots net code package need subscenes so we can't use that either.
    Like I said last I tested this there was no issue with the 2021 version of unity but we can't risk using it because of the compatibility warning between DOTS and the 2021 Unity version issued in the DOTS forum.
     
  10. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    970
    Here's the current state:
    - The issue does seem related to the assembly-override mechanism in 2020.3. It's hard to fix things there since it's only used by a handful of preview packages. Unity 2021.2 comes builtin with UI Toolkit, so this is a non issue there.
    - Internally, we couldn't reproduce the issue with the upcoming UI Toolkit preview.15, probably because the assembly definitions match the core assemblies.
    - We are hard at work to release preview.15.
    - If preview.15 doesn't work, we will have to work with the DOTS build system to make it consider assembly overrides.
     
    thelebaron and Endlesser like this.
  11. adammpolak

    adammpolak

    Joined:
    Sep 9, 2018
    Posts:
    450
    Really appreciate the update!

    And just to double check, when trying to reproduce the issue it was these 4 repo steps? (but with the preview15 packages of course):

    https://forum.unity.com/threads/subscenes-ui-entity-header-failed-to-load.1007609/#post-7078942
     
  12. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    970
    adammpolak and WAYNGames like this.
  13. AdamBebko

    AdamBebko

    Joined:
    Apr 8, 2016
    Posts:
    161
    Thanks for the update. Sounds like preview 15 looks promising. Looking forward to it.
     
    adammpolak likes this.
  14. Rolemancer

    Rolemancer

    Joined:
    Mar 25, 2013
    Posts:
    4
    This bug with Subscenes and UI Toolkit still appears
     
  15. adammpolak

    adammpolak

    Joined:
    Sep 9, 2018
    Posts:
    450
    With preview 15?
     
  16. borysovcorp

    borysovcorp

    Joined:
    Nov 25, 2019
    Posts:
    3
    I was able to run DOTS + UI Toolkit on Unity 2020.1.17f1
    Packages configuration:
    Code (CSharp):
    1. "com.unity.textmeshpro": "3.0.3",
    2. "com.unity.ui": "1.0.0-preview.13",
    3. "com.unity.ui.builder": "1.0.0-preview.13",
    4. "com.unity.vectorgraphics": "2.0.0-preview.13",
    DOTS Packages:
    Code (CSharp):
    1. "com.unity.netcode": "0.6.0-preview.7",
    2. "com.unity.physics": "0.6.0-preview.3",
    3. "com.unity.platforms.linux": "0.10.0-preview.10",
    4. "com.unity.platforms.macos": "0.10.0-preview.10",
    5. "com.unity.platforms.windows": "0.10.0-preview.10",
    6. "com.unity.rendering.hybrid": "0.11.0-preview.42",
    Note: Use only `System Event (UI Toolkit)` otherwise UI will be not interactable
     
    Last edited: Aug 6, 2021
  17. WAYNGames

    WAYNGames

    Joined:
    Mar 16, 2019
    Posts:
    939
    Hello @Julia_P,

    Was this issue fixed by the latest releases ?
    I have tried updating my project to benefit from subscenes but I ran into other issues.
    I tried to start from a blanck project but I have inconsistant results when addin the UI Toolkit package with the other I need (entities and input system), some times I still have this issue, other times I face the same as my original project.
     
    adammpolak likes this.
  18. WAYNGames

    WAYNGames

    Joined:
    Mar 16, 2019
    Posts:
    939
    It seems the issue is the combination of UITK and the new input system.
    UITK + entities works
    New input + entities works
    Entities +UITK + new input breaks
     
  19. Blue-Way

    Blue-Way

    Joined:
    Aug 25, 2021
    Posts:
    1
    still nothing?:(
    I got aproached this error while implemented (I mean i tried to build by this one) DOTS special builder on 2021.1.19f1, and now this error happening every time I create new sub-scene.

    all preview versions of UI is .18
    builder package: "com.unity.platforms.windows": "0.10.0-preview.10"

    I think in my case I just didn't touched sub-scene so it doesn't yaps with UITK until Builder touched whole scene
     
    Last edited: Dec 3, 2021