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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bit Bucket and Source Tree for Mac Issue

Discussion in 'Formats & External Tools' started by DannyK89, Aug 25, 2015.

  1. DannyK89

    DannyK89

    Joined:
    Aug 12, 2015
    Posts:
    9
    Hi Everyone,

    I am working with a friend to start working with Unity to make a game. He has already started working so he has some stuff already set up. He has his project hosted on bit bucket and uses Source Tree for version control. He started working on this project on a PC. I am working on a Mac. I downloaded source tree yesterday and copied a version of the game form bit bucket. When I opened the project in unity it gave me a bunch of errors saying that it removed assets because they didn't exist. Is there something I need to do when going from PC to Mac to get everything to work? I don't know what I did wrong that all the assets were removed.

    Thanks,
    DannyK89
     
  2. Pix10

    Pix10

    Joined:
    Jul 21, 2012
    Posts:
    850
    Depending on what the actual errors are, it sounds like i.e. the repo contains .metadata files without associated assets...this could be caused by him deleting or moving assets from the desktop/Finder rather than in Unity (which will delete .metadata files as well, and is the "proper" way to manage assets in Unity), and not pushing changes through SourceTree; or simply not committing everything in ST.

    Ask him to clone the repo into a clean directory so he can compare it with his working project.
     
  3. DannyK89

    DannyK89

    Joined:
    Aug 12, 2015
    Posts:
    9
    Hi,

    I talked to my friend and he messed with the Source Tree branch and that seemed to do the trick. I still got errors but that had to do with some assets he has on his desktop. I was able to load the scene and play what he had so far.


    Thanks,
    DannyK89