]> source.dussan.org Git - gitignore.git/commitdiff
Unity: ignore mdb files and fix path to crashlytics file (it can be in other places)
authorAndreia Gaita <shana@spoiledcat.net>
Tue, 8 Jan 2019 15:00:46 +0000 (15:00 +0000)
committerGitHub <noreply@github.com>
Tue, 8 Jan 2019 15:00:46 +0000 (15:00 +0000)
Unity projects targeting the 2.0/3.5 runtime or built with mono < v5.0 generate `mdb` files, not `pdb` files.

Looks like the `crashlytics-build.properties` gets around in more than just the `StreamingAssets` folder, looking at [examples around the internets](https://github.com/auth0/sharelock-android/blob/master/app/src/main/assets/crashlytics-build.properties), so it should probably just be ignored as a filename.

Unity.gitignore

index e59f3c271c923f757f6d762593ff2b958d0a9cbb..2959acb61cd484cbde3b4dea0da0bafebeba01df 100644 (file)
@@ -26,12 +26,14 @@ ExportedObj/
 *.booproj
 *.svd
 *.pdb
+*.mdb
 *.opendb
 *.VC.db
 
 # Unity3D generated meta files
 *.pidb.meta
 *.pdb.meta
+*.mdb.meta
 
 # Unity3D generated file on crash reports
 sysinfo.txt
@@ -41,5 +43,5 @@ sysinfo.txt
 *.unitypackage
 
 # Crashlytics generated file
-Assets/StreamingAssets/crashlytics-build.properties
+crashlytics-build.properties