Skip to content

Commit 24f6734

Browse files
authored
Unity: ignore mdb files and fix path to crashlytics file (it can be in other places)
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.
1 parent f549603 commit 24f6734

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Unity.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ ExportedObj/
2626
*.booproj
2727
*.svd
2828
*.pdb
29+
*.mdb
2930
*.opendb
3031
*.VC.db
3132

3233
# Unity3D generated meta files
3334
*.pidb.meta
3435
*.pdb.meta
36+
*.mdb.meta
3537

3638
# Unity3D generated file on crash reports
3739
sysinfo.txt
@@ -41,5 +43,5 @@ sysinfo.txt
4143
*.unitypackage
4244

4345
# Crashlytics generated file
44-
Assets/StreamingAssets/crashlytics-build.properties
46+
crashlytics-build.properties
4547

0 commit comments

Comments
 (0)