1

I followed different guidelines for uploading / pushing large files that are in Unity Projects. I tracked all large files, I added GIT ignore file. But I still get these errors. What can I do?

enter image description here

enter image description here

  • Do not push your Library folder to your Git repository. This library is automatically generated by Unity and can safely be generated by anyone cloning the project. Consider adding a .gitignore file with appropriate excludes. A sample can be found at https://github.com/github/gitignore/blob/main/Unity.gitignore – Bart Mar 10 '23 at 16:22
  • Thanks Bart. Noted! – Pascal Mariany Mar 10 '23 at 19:39

1 Answers1

0

Check first if you are supposed to track *.so files.
As you can see in this .gitattributes file, *.so are not supposed to be tracked by LFS, and should be ignored (see Unity.gitignore)
See also "How To Set Up Git LFS Into Your Unity Project" from Adam Reed.

If that is the case, you need to git rm those files first, before your commit and push. And possibly use git filter-repo to remove those same files from your past commits if they were committed before.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250