From fee4d0f98e167e735499d158e4ab38cf2394b390 Mon Sep 17 00:00:00 2001 From: Josh Marshall <10360503+jmarsh411@users.noreply.github.com> Date: Mon, 17 Oct 2022 11:02:24 -0400 Subject: [PATCH] ignore meta files of unity packages Unity packages were already ignored, but it seems in recent versions of Unity these also generate meta files for these. If the meta file isn't also ignored, the person who imports an asset containing a .unitypackage file could accidentally commit the meta files. For another who downloads those meta files, Unity would automatically delete them since they don't have the .unitypackage. The the importer commits them again and the cycle goes on and on until someone like me gets fed up. This fixes that inconsistency by adding the *.unitypackage.meta to the ignore list. --- Unity.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Unity.gitignore b/Unity.gitignore index 58cbc825..3496b7cd 100644 --- a/Unity.gitignore +++ b/Unity.gitignore @@ -59,6 +59,7 @@ sysinfo.txt *.apk *.aab *.unitypackage +*.unitypackage.meta *.app # Crashlytics generated file