Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 4.6 UI issue with GIT

Discussion in 'UGUI & TextMesh Pro' started by zhbjvd, Feb 9, 2015.

  1. zhbjvd

    zhbjvd

    Joined:
    Dec 17, 2013
    Posts:
    12
    Hi,

    I am using Unity 4.6 new UI. I have my project setup on bit bucket (using GIT). It was working fine but when I cloned the project on another macbook. All the unity new UI scripts went missing. Is there any workaround for this issue ?

    I am using same unity version on both macbooks.

    Editor Settings screenshot attached
    Unity inspector where scripts went missing screenshots attached.
     

    Attached Files:

    Last edited: Feb 9, 2015
  2. luisanton

    luisanton

    Joined:
    Aug 25, 2009
    Posts:
    325
    Came here looking for something similar, we are experiencing the same problem. I see the UI, but when pushing changes and pulling them in a different computer UI scripts are missing 8(
     
  3. BMayne

    BMayne

    Joined:
    Aug 4, 2014
    Posts:
    186
    Hey there,

    Delete your Library folder in the root of your project. This will force Unity to do a update and regenerate the folder. This should fix your missing scripts issue.
     
  4. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,688
    +1
    With GIT (or any sourcecontrol) only check in your assets (with .Meta files) and your project settings.
    Do not check-in Temp, Library or such.

    Also if you check in exported projects, obviously do not check in obj and bin folders.
    If you start a new project on GitHub, they have a good Unity ignore file setup by default now.
     
  5. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,037
    SimonDarksideJ likes this.