1
0
mirror of https://github.com/github/gitignore synced 2024-06-09 14:17:57 +02:00
gitignore/Unity.gitignore
James R T 8e0f6dcee2
[Unity] Add more folders and files to ignore
This commit adds these categories of folders and files to ignore:
- Automatically generated Unity-related folders
- Platform-specific build directories
- Windows Store App
- UWP
- UnityVS
- Debug output
- Certificates
2023-09-15 00:19:06 +08:00

115 lines
1.9 KiB
Plaintext

# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]in/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/
/[Aa]rtifacts/
/[Ll]ocal[Cc]ache/
# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/
# Recordings can get excessive in size
/[Rr]ecordings/
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*
# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*
# Visual Studio cache directory
.vs/
# Gradle cache directory
.gradle/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db
*.opensdf
*.sdf
*.ipch
*.log
*.idb
# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta
# Unity3D generated file on crash reports
sysinfo.txt
# Builds
*.apk
*.aab
*.unitypackage
*.app
# Crashlytics generated file
crashlytics-build.properties
# Packed Addressables
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*
# Ignore UnityVS so that users can use different versions
/[Aa]ssets/UnityVS/*
/[Aa]ssets/UnityVS.meta
# Platform-specific build directories
/WebBuild/
/WindowsBuild/
# Windows Store App folders
/WindowsStoreApp/
/WSA/
# Automatically generated Unity-related folders
/UnityGenerated/
/UnityPackageManager/
# Generated Unity UWP files and folders
/UWP/
/project.json
/project.lock.json
# Folder for generated UWP App to export to HoloLens
/[Aa]pp/
# Debug output
/DebugOutput/
/DebugOutput.meta
# Certificates
*.cert
*.privkey
*.pfx
*.pfx.meta