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

Unity 4.6.1. missing ui components

Discussion in 'UGUI & TextMesh Pro' started by henkjan, Dec 10, 2014.

  1. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    143
    Looks like there are some components missing in this version.

    I can't find the layout components anymore (i.e. grid)
    Also the whole 'UI' part is gone when choosing 'add component'

    Is this me or are there more people with this problem?
     
  2. Sbizz

    Sbizz

    Joined:
    Oct 2, 2014
    Posts:
    250
    You should try to remove the Library and Temp folders and reload your project. I guess.
     
  3. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    143
    What I did was reinstall 4.6.0f3 and now it's working correctly again.
    Layout has much types again and als UI is back.
     
  4. goat

    goat

    Joined:
    Aug 24, 2009
    Posts:
    5,182
    Maybe they made members private that you were accessing so the way forward would be for you to redesign you UI with Unity 4.6.1.

    Don't take my word for that though. Hopefully a Unity Tech worker will see this thread and tell you what is wrong.
     
  5. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    143
    I don't know. Some functionality, like layout grouping, only works by adding it with 'Add component'....
     
  6. goat

    goat

    Joined:
    Aug 24, 2009
    Posts:
    5,182
    You said that that was missing with the 4.6.1 version of Unity, but it's not?
     
  7. brendan-vance

    brendan-vance

    Joined:
    Jan 16, 2014
    Posts:
    36
  8. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    143
    No, that's not what I meant. In 4.6.0f3 you only can add group layout functionality by using the 'Add component' button (or probably in code).
     
  9. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    143
  10. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    143
    Ok, I installed 4.6.1 again and created a new project. Then it looks like it's working correctly so Sbizz is right. I should remove the library files and try again.
     
  11. BryanO

    BryanO

    Joined:
    Jan 8, 2014
    Posts:
    186
  12. Ricks

    Ricks

    Joined:
    Jun 17, 2010
    Posts:
    650
    I also had totally weird issues when upgrading my old project from Unity 3.6->4.2->4.5->4.6. No errors on upgrading, but the GUI was totally broke. I could have send a bugreport every single day with totally strange issues, no one else got. But whenever I tried to replicate it in a fresh project, no issues happened.

    Therefore I took the plunge to remove all Temp and Library files. It broke some material references, which I had to fix, but other than that the project was OK. And most important: the new GUI finally worked correctly.
     
  13. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
  14. Zerot

    Zerot

    Joined:
    Jul 13, 2011
    Posts:
    135
    The library folder holds cached versions of imported assets and such. It can also hold the metadata info of objects, such as import settings and prefab links, but by default they are now stored in meta files next to the asset. As long as you have meta files turned on(which would be the case by default for every project started after 4.2) you can remove the library folder without problems. All the data in there can be reconstructed from the info in the ProjectSettings and the Assets folders. If you have an old project, you should turn on the meta files in the editor settings.

    Do note that every asset will be automatically reimported after removing the library folder, so for very big projects it can take a few hours for it to regenerate the library folder. (also helps to turn off "compress on import" in the preferences)
     
    BryanO likes this.
  15. BryanO

    BryanO

    Joined:
    Jan 8, 2014
    Posts:
    186
    Awsome response thanks...
     
  16. Helical

    Helical

    Joined:
    Mar 2, 2014
    Posts:
    50
    We had an issue with a couple of people in our company, I believe its caused by having multiple instances of Unity installed somehow, those of us who only have one Unity installed (because each instalation we override the previous) never had that issue. and when one of us had the problem uninstalling an unused version of unity fixed the problem.