Commit Graph

58 Commits

Author SHA1 Message Date
Josh Marshall
fee4d0f98e 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.
2022-10-17 11:13:34 -04:00
Brian Douglas
eafb2eea79
Merge branch 'main' into patch-1 2021-12-10 14:00:54 -08:00
Wiblz
093b0fbce9 Replace references of this repo's "master" branch
with "main".
2021-12-06 23:39:54 +01:00
Brian Douglas
22468dd26e
Merge pull request #3888 from kevinjycui/unity-recorder
Ignore default Recordings folder created by Unity Recorder package
2021-12-04 13:12:54 -08:00
Kevin JY Cui
8a4aa14099 Ignore default Recordings folder created by Unity Recorder package 2021-11-16 03:12:28 -05:00
Edward Rowe
7bcea28191
Unity: Remove exclusion for *.meta files
If a user has ignored an asset (no matter how dubious that decision may be), they also want to ignore the .meta file. Instead of bringing back .metas that have been ignored, this template should trust that a user has ignored the files they want to ignore.

You'd encounter this issue if you had added an ignore for an asset and its meta above this Unity template, or if another template ignored an asset and meta.

In general excludes may be dangerous in these templates, as they can have unintended consequences on other templates.
2021-10-13 08:40:50 -04:00
Ícaro Lima
bfb5f318de
Update Unity.gitignore 2021-05-23 11:08:58 -03:00
Hiroto Kobayashi
18aa6d8377
Add *.aab (#3414) 2020-05-19 10:48:08 -03:00
JasperCiti
dc8c27c5f9
Add Unity's Addressables and Android's temp files. (#3311)
* Added Addressables.

Prevent automatically generated addressable files to end up in Git.

* Update .gitignore to exclude packed Addressables and Android auto-generated files.
2020-03-11 10:07:49 -03:00
Daniel Heim
7b5783ace7 Update Unity.gitignore (#3297)
Unity 2020 introduces a new "UserSettings" top-level project folder.
See https://forum.unity.com/threads/whats-the-usersettings-directory.754436/ for more information.
2020-02-09 18:34:10 -04:00
FritzsHero
f726843f1b Added a comment why MemoryCaptures get excluded (#3276) 2020-01-20 15:20:24 -04:00
狂飙
1e667576ce [Unity] Fix ignore Jetbrains plugin folder (#3266)
Add missing slash to make pattern accurate, since the JetBrains folder is always relative to root assets folder.
2019-12-16 09:07:58 -04:00
Drew Barnett
e2e54ce6be Modified comment on Asset meta data ignore to better explain usage. (#3249) 2019-11-27 09:12:00 -04:00
Joshua Jones
c4ed859434 Revert of #2988. TextMesh Pro files are not auto managed (#3134)
Unlike other packages, TextMesh Pro is not entirely managed by Unity's new Package Manager, and still imports some assets directly into the project.
2019-07-24 10:03:41 -03:00
Alexander Gayko
7c462a387b Added Preamble (#2954)
... to let the file point to its canonical source
2019-05-12 10:09:14 -03:00
LotteMakesStuff
65bc8a7090 [Unity] ignore Jetbrains plugin folder (#3026)
When a Unity project is opened in Jetbrains Rider, it installs a editor plugin into the Assets/Plugins/Editor/Jetbrains folder to manage Unity->Rider integration. This plugins life cycle is managed by your local Rider install and is automatically updated by Rider. It should not be committed to source control.  This is documented by Jetbrains here https://www.jetbrains.com/help/rider/Unity.html

This change should ignore both the Jetbrains plugin folder and its .meta file correctly. For completeness, it would be nice to also ignore the /.idea*/ settings folder that Rider autogenerates, but i see a PR implementing that change has already been rejected.
2019-05-12 09:44:32 -03:00
FritzsHero
b2d72bfcf7 Exclude memory profiler captures from git (#3049) 2019-05-09 08:17:09 -03:00
Lucas Steer
56e3f5a7b2 [Unity] Added leading slashes to ignored directories so that valid subdirectories aren't ignored incorrectly (#2980)
* Added leading slashes to ignored directories so that valid subdirectories aren't ignored incorrectly

* Added comment to recommend .gitignore placement; added leading slash for AssetStoreTools rule

* Added a leading slash to never ignore .meta files in the root Asset folder
2019-03-23 15:29:17 -03:00
A. E. Szalo
23f7a81282 Unity: ignore TextMesh Pro (#2988) 2019-03-11 09:07:13 -03:00
Jannes
28ae73efa6 Unity: Never ignore asset meta data 2019-01-22 21:06:25 +01:00
Andreia Gaita
152f419973
Unity: Do not blanket-ignore specific plugins, that's a user choice
Only people building Unity plugins will need to import the asset store tools plugin into their project, and it's a toss up whether they want to commit the tooling into their repo (they might or they might not want to, it highly depends on their workflow). The default .gitignore shouldn't be making this choice for these users.
2019-01-08 15:12:43 +00:00
Andreia Gaita
24f6734840
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.
2019-01-08 15:00:46 +00:00
johnsoncodehk
81923b128e
Unified base folder name format 2018-12-31 17:39:27 +08:00
Clemens Scharfen
f3d0de0351 Added Logs to Unity.gitignore, which is automatically generated in Unity 2018.3 to log package updates. 2018-12-18 15:59:59 +01:00
Brendan Forster
e67bbf5f91
Merge pull request #2900 from theDrake/patch-1
Improve comment capitalization consistency
2018-12-18 08:39:28 -04:00
Kyle Smith
32fa57bc61
[Unity] Ignore .gradle/ build cache 2018-12-12 19:47:32 +10:00
David C. Drake
47d29f35dc
Improve comment capitalization consistency 2018-12-01 16:36:06 -08:00
1nfinite9
58f322cfbc
Update Unity.gitignore
Add ignore for Crashlytics generated file
2018-11-07 10:15:02 +09:00
Clemens Scharfen
a2e5aea917 Added *.VC.db to Unity.gitignore, which is an auto generated IntelliSense file from VS2015 Update 2 (replacing the .sdf file). 2018-10-18 11:54:13 +02:00
Owen Blacker
4890151871
Added *.opendb 2018-04-28 15:13:48 +01:00
kilian442
168b75d7ec
Visual studio cache issue
/.vs/ do not catch the visual studio cache folder but .vs/ do
2018-04-16 09:12:00 +02:00
Popa Marius Adrian
7b6718742a
remove VS year from comments 2018-03-15 15:51:27 +02:00
Matthew Wallace
dc0ca6d8d5 Fixing .gitignore (#2531)
* Update Unity.gitignore

Prevents directories: `Library`
`Temp`
`Obj`
`Build`
`Builds`
`Assets/AssetStoreTools`
from being included in the remote if the project sits in the `Assets` folder.

* removed wildcards from Unity's .gitignore
2017-11-30 08:36:52 +11:00
James Reed
c84ba70652 Ignore Unity generated '*.pdb.meta' files for '*.pdb' files (#2486) 2017-11-29 12:03:18 +11:00
Matthew Wallace
e0c2baea55 Update Unity.gitignore (#2502)
Prevents directories: `Library`
`Temp`
`Obj`
`Build`
`Builds`
`Assets/AssetStoreTools`
from being included in the remote if the project sits in the `Assets` folder.
2017-11-29 12:01:40 +11:00
Ben Bodenmiller
2d4695b277 remove extra line 2017-03-10 14:43:32 -08:00
Taemin Hong
0c0c3b6b85 Unity: ignore Visual Studio 2015 cache directory
Since the version 5.2, Unity has used Visual Studio 2015 instead of MonoDevelop as default script editor in Windows.
This change may be helpful for Unity developers who use the recent version of Unity in Windows.
2017-01-31 16:27:41 +09:00
Roger
fb66674511 Add debugging files to the gitignore 2017-01-10 15:10:50 -05:00
Ricardo Pistorello
d605f911b9 Added project folder created by Consulo IDE 2016-06-21 11:34:13 -03:00
Brendan Forster
1199897c60 Merge pull request #1631 from ahmedbaracat/patch-1
Allow for ignoring other important files and save space
2016-01-27 16:04:49 +10:30
tim
5e08bf6060 Unity.gitignore modyfying, add /[Bb]uilds/ /Assets/AssetStoreTools* dictionaries and *.svd svd files to be ignored
modified:   Unity.gitignore
2015-12-10 13:08:58 +08:00
Ahmed Baracat
52405705da Removed OS-specific rules 2015-08-26 11:49:56 +02:00
Ahmed Baracat
bd9f168a81 Allow for ignoring other important files
Ignore build, MacOSX and Windows files
2015-08-25 22:36:00 +02:00
Tandoori
a4661a2d39 Made it so the folders only get ingored in the root
With the current setup these folders are ignored in the whole repo, but they're only automatically generated in the project root so it makes sense to only ignore the ones in the root.

I made this change because one of the assets in my project uses a folder called 'Library', and I was wondering why it never uploaded that folder.
2015-04-19 01:43:23 +09:00
Matthias Viranyi
3a959fc2ae Update Unity.gitignore
And removes the last new line.
2015-01-05 14:27:24 +01:00
Matthias Viranyi
5409dc172d Update Unity.gitignore
Removes queried extensions.
2015-01-05 14:18:30 +01:00
Matthias Viranyi
80b400595b Adds forgotten UnityVS / VS2013 related solution files. 2014-12-12 14:26:12 +01:00
Matthias Viranyi
8b00fa88a8 Adds several annoying files to Unity3D ignore file, like platform cache files (Mac + Windows), the famous Unity3D pidb.meta 2014-12-12 14:04:48 +01:00
Clarke Plumo
2f96e3484b Add space at Unity gitignore comment 2014-12-12 10:25:22 +08:00
Joel Kuntz
103740bdb1 Fix solution/project files for nested directories.
By having the leading `/` infront of the `*` makes these types of files relative to the directory the gitignore is in. If you create a Unity project inside of a git directory Unity forces you to create a new directory, thus not picking up these files.
2014-12-04 21:43:44 -04:00