Search Unity

Suddenly all UI scripts missing!

Discussion in 'UGUI & TextMesh Pro' started by Rodolfo-Rubens, May 1, 2015.

  1. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    And those errors popped on the console:

    I'm using 5.0.1p3
     
  2. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    Well, this is very weird, I deleted the library folder and opened the project again, the warning saying that I had out of date apis appeared and asked if I wanted to upgrade, did you made a backup and blablabla, I clicked go ahead and those errors has gone, also the scripts references was there again.

    that mini heart-attack. :p
     
  3. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,694
    Known issue. http://issuetracker.unity3d.com/iss...-but-is-not-known-in-guidmapper-dot-dot-dot-1

    If you have a vote available, you could help vote it up in the link above to hopefully get it addressed sooner.

    Deleting Library (as you mentioned) or selecting Assets > Reimport All will get it working again, but this is a painful solution in large projects where reimporting all assets can take an hour or more.
     
    NullSense likes this.
  4. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    Voted! Mine took about 30mins with an ssd, don't know if it make those things go faster though...
     
  5. Lialice

    Lialice

    Joined:
    Oct 18, 2013
    Posts:
    6
    Had the exact same issue, reimporting all took only about 10 minutes for my 800 mb project. (With the project being saved on a hdd, unity being installed on the ssd)
    Also voted on the issue.
     
  6. eweeparker

    eweeparker

    Joined:
    Dec 6, 2012
    Posts:
    5
    Also had the same issue today. 5.1
     
  7. NullSense

    NullSense

    Joined:
    Oct 1, 2014
    Posts:
    1
    Same issue 5.1. Fixed by reimporting. :)
     
  8. CoDeXiTo

    CoDeXiTo

    Joined:
    May 11, 2013
    Posts:
    10
    i have fix this reimpoting, but now i not see UI button when i try make one UI on editor, anoye know how fix? i have unity 5.1.2f1
     
  9. idurvesh

    idurvesh

    Joined:
    Jun 9, 2014
    Posts:
    495
    Just now same occured to me
     
  10. Nomibuilder

    Nomibuilder

    Joined:
    Apr 24, 2014
    Posts:
    20
    Remove Library Folder. It It will Shift back the project to the default settings. Then Start Unity It will reimport all the assets again, And then Switch Platform to Android again. Because it will be automatically switched to PC Setting.
     
  11. emersondesign

    emersondesign

    Joined:
    Mar 14, 2015
    Posts:
    5
    Super annoying! Happens to me once in a while on 5.3 ... man I wish there was a fix besides re-importing everything! Time is precious!
     
    Qbit86 likes this.
  12. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,694
    If you don't want to have to reimport all, try j-robichaud's script or these steps:
    1. Close Unity.
    2. Open the folder where Unity is installed, and move UnityEngine.UI.dll and UnityEditor.UI.dll somewhere else temporarily.
    3. Open Unity.
    4. Close Unity.
    5. Move the DLLs back.
    6. Open Unity.
     
  13. W4rf4c3

    W4rf4c3

    Joined:
    Jan 22, 2016
    Posts:
    13
    Just happened with Unity 2017.1... reimporting all fixed it.
     
    filibis likes this.
  14. dabalciunas

    dabalciunas

    Joined:
    Jan 17, 2016
    Posts:
    2
    After deleting the library folder, I lost all script references.
    Reimporting all is crashing Unity 2017.2.0f3.
     
    Qbit86 and karenm2s like this.