Skip to content

Instantly share code, notes, and snippets.

@wiverson
Created May 1, 2023 21:51
Show Gist options
  • Save wiverson/3f06f631c1cf7ed9eb52da36a8d385a6 to your computer and use it in GitHub Desktop.
Save wiverson/3f06f631c1cf7ed9eb52da36a8d385a6 to your computer and use it in GitHub Desktop.

Revisions

  1. wiverson created this gist May 1, 2023.
    95 changes: 95 additions & 0 deletions Unity .gitignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,95 @@
    # This .gitignore file should be placed at the root of your Unity project directory
    #
    # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
    #
    /[Ll]ibrary/
    /[Tt]emp/
    /[Oo]bj/
    /[Bb]uild/
    /[Bb]uilds/
    /[Ll]ogs/
    /[Uu]ser[Ss]ettings/

    # MemoryCaptures can get excessive in size.
    # They also could contain extremely sensitive data
    /[Mm]emoryCaptures/

    # Asset meta data should only be ignored when the corresponding asset is also ignored
    !/[Aa]ssets/**/*.meta

    # 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

    # Unity3D generated meta files
    *.pidb.meta
    *.pdb.meta
    *.mdb.meta

    # Unity3D generated file on crash reports
    sysinfo.txt

    # Builds
    *.apk
    *.unitypackage
    *.aab
    *.app

    # Crashlytics generated file
    crashlytics-build.properties

    # macOS Specific
    .DS_Store
    .DS_Store?
    ._*
    .Spotlight-V100
    .Trashes
    ehthumbs.db
    Thumbs.db
    report.xml
    Thumbs.db.meta

    # JetBrains
    /.idea/
    .idea/**

    # Asset Hunter build info
    *.ahbuildinfo

    # FMOD
    fmod.log
    fmod_editor.log
    /Assets/Plugins/FMOD/Cache/Editor/FMODStudioCache.asset
    /Assets/Plugins/FMOD/Cache/Editor/FMODStudioCache.asset.meta

    /Assets/Plugins/FMOD/Cache/Editor.meta