NuGet is only used for unit testing and adding Rosalyn analyzers, but trying to restore them into Unity without .meta files breaks builds.
Checking in the Assets/Packages folder allows us to avoid a dotnet restore and allows us to check in the proper .meta files and avoid Unity build issues.
Review checklist
[ ] This pull request has appropriate unit and / or integration tests
What and why?
NuGet is only used for unit testing and adding Rosalyn analyzers, but trying to restore them into Unity without .meta files breaks builds.
Checking in the
Assets/Packages
folder allows us to avoid adotnet restore
and allows us to check in the proper .meta files and avoid Unity build issues.Review checklist