Error importing existing project from Github

Hi, I’ve been working in a small game in my personal computer, I control its source using Github and I generated my gitignore file using gitignore.io (gitignore/Unity.gitignore at master · github/gitignore)

I downloaded the source code into my notebook, but when I import the project (using the same Unity version 2020.3.0f1) all my Assets data are lost, my sprites have the “Sprite mode Single” (when they are Multiple sliced), my animations lost their transitions (only the default transtion from Entry->Idle is linked), my Scene lost all object/properties links, ie: Sprite Render says “Sprite missing”, my animator says “Missing (Runtime Animator)”, my object script says “Missing (Mono Script)”, basically everything kinda got reseted.

Am I ignoring some file that I shouldn’t?

This sounds like you are not controlling the .meta files. Those are absolutely critical… For any asset, the meta file contains all the settings you put into the importer, such as how to chop it up, etc.

I removed the *.meta from the gitignore and it worked now, gonna report this possible problem to gitignore team.

Thank you!