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

Problem with

Discussion in 'Getting Started' started by kristosaber, Apr 2, 2021.

  1. kristosaber

    kristosaber

    Joined:
    Jan 20, 2021
    Posts:
    33
    Hi,

    I'm not sure if this is the right thread.

    I'm working on my game with a friend, and we host it on Githb.

    The strange thing is that when he save it on Github, and I download it, all our hierarchy was gone.
    We still have all the assets in it, but the layout of our game are gone.

    I have checked the Github with him to pull from the develop branch, which I did.

    Appreciate if anyone can advise.

    stem.JPG
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,842
    Could it be you simply need to open the scene? Perhaps by default Unity has opened a new, empty scene for you?
     
    Ryiah, kristosaber and Joe-Censored like this.
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    The Hierarchy is specific for the open scene(s). Your image says your open scene is "untitled" which I doubt is the name of a real scene.

    If you're not saving your scenes at all, well you'll need to do that. That's a separate save step from saving the project in general. Saving the scene results in a scene file wherever you put it in the Assets folder, so you'll need to make sure you check in the scene file into version control as well.
     
    kristosaber likes this.
  4. kristosaber

    kristosaber

    Joined:
    Jan 20, 2021
    Posts:
    33
    Hi All, thank you for your help. I have solved the issue. I realize that I need to open the scene as Joe Strout mentioned.
     
    JoeStrout likes this.