Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Ingame UI broken[SOLVED]

Discussion in '2019.3 Beta' started by id0, May 16, 2019.

  1. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    All UI scripts (Text, Image, etc) are missing. They are exist in nature, but I need to add them all manually AGAIN!
     
    darkydoodle likes this.
  2. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    970
    Sounds like the asset Guids for the scripts have changed in the migration from a built-in component to a package. I'd imagine that'd have an asset upgrader for the final release, it's something that's affected TextMeshPro and other bits several times.
     
  3. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    Do you have compile issues anywhere in your project that would have prevented the package from compiling? The GUIDs are automatically switch over inside the engine so them changing should have no effect.

    If you still repo it send us a bug report as others have not reported this and i know people are using the package.
     
  4. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    Some UI (in prefabs mostly) is really are fine, and have all components, but UI on the scene I working with is completely broken, all scripts are missing. And the prefabs that were on this scene are also broken. No compile errors of something.
     
  5. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    Please submit a bug then, this is the first case i've heard of so would like to know whats different with your project.
     
  6. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    I have large project (more than 10 gb), I can't see how I can send bug report with it.
     
  7. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    error.jpg Here's what happen when I try to copy/paste this broken UI to other scene:
     
  8. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    So please still file a bug even without the project and we can have our QA team send you a link as to where you can upload the project. If you do this please provide the bug # so i can chase QA to send that link.

    If your project is on some sort of public accessible repo a temp user to dl it would also work if you are comfortable with that.
     
    Last edited: May 16, 2019
  9. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    I don't have repo. If I copy project and leave only the scene and the prefabs and delete everything that does not matter, will it be useful? Is Library folder needed?
     
  10. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    We can try to see if a copy will work. if you can get the size of the project down and it still happens then yeah would be helpful.

    My guess would be that yes the library folder is needed unfortunately as thats where a bunch of GUID associations get stored. But you can try it yourself, once you get it to a smaller size, if you copy the project again and delete the library folder and the issue is still present in that copy then its not needed.
     
  11. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    I just reproduced the issue. I made a new project in Unity 2019.2.0b1, create some UI with buttons and events, save the scene (no prefab) and open it in Unity 2019.3.0a2. Scripts are missing. I made a bug report.
    1155107
     
    phil-Unity likes this.
  12. darksilence

    darksilence

    Joined:
    Oct 16, 2014
    Posts:
    16
    Did you download UI package ?
     
  13. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    I already said that UI elemets are working, they just disappear from existing canvas.
     
  14. darkydoodle

    darkydoodle

    Joined:
    Oct 27, 2018
    Posts:
    64
    I tried to import my project from 2019.2 to 2019.3 and had exactly the same problem.
     
  15. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    which versions of 19.2 and 19.3? The package landed in 19.2 first then took 2 weeks for 19.3 so its possible that your on a version of 19.3 that doesnt have the package?
     
  16. darkydoodle

    darkydoodle

    Joined:
    Oct 27, 2018
    Posts:
    64
    19.2.b2 to 19.3.a2
    I can wait, it's not that big a problem for now. I'd be more annoyed if something that I need would appear in 19.3 (PPv3 extension for example) and not in 19.2.
     
  17. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    I decided not to wait, but rebuild my UI. I really hope the new update will not break something again.
     
  18. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    package landed in 2019.2.0a15 and 2019.3.0a3 so in one instance (19.2) you have the package and in the other you dont. So they system knows how to update the package GUIDs from old to new but not how to go from new to old.
     
    darkydoodle likes this.
  19. darkydoodle

    darkydoodle

    Joined:
    Oct 27, 2018
    Posts:
    64
    Ok, good to know, I'll update when 19.3a3 will be there.
     
  20. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    @id0 so looking at your screenshot i'm thinking maybe this is your issue as well. I thought 19.3a3 was out but its not... Hopefully you haven't spend too much time rebuilding if thats the case.
     
    id0 likes this.
  21. darkydoodle

    darkydoodle

    Joined:
    Oct 27, 2018
    Posts:
    64
    I tried it with 2019.3a3 and it's working, no UI problems.
     
    phil-Unity likes this.
  22. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    Great news, i was just about to come here and ask as i know a3 was released today. Thanks!
     
  23. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    Yeah, in 2019.3a3 everything going back to normal, thank you :)
     
    phil-Unity likes this.
  24. VrGamesDev

    VrGamesDev

    Joined:
    May 7, 2018
    Posts:
    64
    I have a similar Issue, but from 2019.4.0 to 2018.4.23

    All the UI has the missing scripts
     
  25. VrGamesDev

    VrGamesDev

    Joined:
    May 7, 2018
    Posts:
    64
    Couldn't fix it, I rebuild and recreated all my scenes