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

Unable to load properly 2D extras after own cloning solution from git

Discussion in '2D' started by pankhard159, Feb 20, 2020.

  1. pankhard159

    pankhard159

    Joined:
    May 14, 2018
    Posts:
    13
    Hello,

    I have got message after cloning my own project from git:
    Rebuilding Library because the metadata folder could not be found!

    .gitingnore file:
    Code (CSharp):
    1.  
    2. \.vs/
    3. Temp/
    4. obj/Debug/
    5. Library/
    6. *.zip
    7. Assets/Photoshop/
    8. Assets/Screenshots/
    9. Images/
    10. BUILD/
    11.  
    Uploaded into git repo:
    Code (CSharp):
    1. Assets      
    2. Logs      
    3. Packages      
    4. ProjectSettings      
    5. UIElementsSchema
    6. ... and other solution files created by Visual studio
    If I clone the repo to my folder and open solution through Unity Hub I have got error mentioned above that appears only once on first start. Everything is loaded correct but only Tiles such as Tile, RuleTile,... doesn't appear on scene. Whole TilePalette is empty.

    What should I remove from git ignore to be able to load the solution correct?
    Library folder is too big to push it on git and itself is autogenerated.
     
  2. unit_dev123

    unit_dev123

    Joined:
    Feb 10, 2020
    Posts:
    989
    try to use metadata from commit last known to work, but might cause issue with most recent git
     
  3. pankhard159

    pankhard159

    Joined:
    May 14, 2018
    Posts:
    13
    Solved: Problem with gitignore
     
    Last edited: Feb 21, 2020