Commit Graph
79 Commits
Author SHA1 Message Date
Krolti 3d81db802a fix: folder formatting 2026-06-08 10:06:35 +03:00
Krolti e8ddc223ef Merge branch 'main' into Unity-/UIElementsSchema-.gitignore 2026-06-08 09:39:04 +03:00
Devin Dooley 1af287ee8a Merge pull request #4780 from SzymonHalucha/patch-1
Update Unity.gitignore to add new ignore patterns
2026-04-20 13:27:12 -07:00
Szymon Hałucha 315e8cbbbd Update Unity.gitignore to add new ignore patterns
Added entries to ignore .slnx files and scene dependency cache.
2026-01-03 09:41:43 +01:00
Krolti c0aa4c66f9 Added /UIElementsSchema to unity .gitignore
/UIElementsSchema is an auto-generated folder created by Unity. It is used in the UI Toolkit.

In Unity discussions, staff have confirmed that this folder can be safely ignored.
 
https://discussions.unity.com/t/uielementsschema/805120
2025-11-03 10:47:50 +03:00
Tigran Sargsyan e64eacaa89 Update Unity.gitignore with additional comments 2025-09-22 14:17:49 +02:00
Daniel Johnson d0c6a25dd6 Merge pull request #4662 from mikerochip/main
Add TestFramework and fix Addressables in Unity.gitignore
2025-06-20 14:38:26 -07:00
Daniel Johnson 4b412d5a4a Merge pull request #4240 from nowsprinting/unity-auto-generated-by-run-playmode-tests
Add auto-generated scenes by Unity play mode tests
2025-06-20 13:23:25 -07:00
Koji Hasegawa 8789ddbda3 Fix conflicts 2025-06-15 22:37:42 +09:00
Mike Schweitzer 5902dd9543 Add *.DotSettings.user for Rider to Unity.gitignore 2025-06-13 16:52:14 -07:00
Mike Schweitzer b913fd9f3c Add TestFramework files and fix Addressables coverage
* Fix incorrect comment - aa means Addressable Assets not Android Assets
* Add more complete default Addressables coverage
* Add TestRunner package generated files
2025-06-13 16:28:10 -07:00
Daniel Johnson 29e37fdb51 Merge pull request #4363 from rhys-vdw/patch-2
Ignore mono_crash files in Unity.gitignore
2025-06-13 14:55:19 -07:00
Daniel Johnson 106e047d1c Merge pull request #4582 from WybrenKoelmans/patch-1
Unity Visual Scripting auto generated files
2025-05-23 14:03:08 -07:00
Daniel Johnson 4283b75156 Merge pull request #4589 from IBXCODECAT/main
Ignore unneeded *.blend1 blender files
2025-05-23 14:00:07 -07:00
Shannja 5d9130efad Update Unity.gitignore 2025-03-30 20:08:36 -05:00
Nathan Schmitt a3b250b638 Ignore unneeded *.blend1 blender files
**Reasons for making this change:**
By default, the Unity game engine supports the importing of Blender *.blend files and converts them to FBX internally (see documentation link below). Sometimes, blender stores *.blend1 files as a backup copy of your current blender file *.blend. Due to the nature of version control, redundant *.blend1 files do not need to be committed.

**Links to documentation supporting these rule changes:**
[Unity supported file formats](https://docs.unity3d.com/Manual/3D-formats.html)
2025-02-20 21:57:42 -06:00
Tim Hunter 754920b804 Merge pull request #4525 from StephenHodgson/patch-1
Update Unity.gitignore
2025-02-11 08:30:34 -08:00
Wybren Koelmans 882b8cc98e Unity Visual Scripting auto generated files
https://docs.unity3d.com/Packages/com.unity.visualscripting@1.9/manual/vs-version-control.html
2025-02-01 14:59:00 +01:00
Stephen Hodgson 311418f087 Update Unity.gitignore 2024-10-19 12:08:00 -04:00
Rhys van der Waerden f18cd633a9 Ignore mono_crash files
These can be generated by Unity on crash
2023-10-25 10:59:17 +11:00
Koji Hasegawa 4eb82ffd9b Add auto-generated scenes by Unity play mode tests 2023-02-05 23:17:08 +09:00
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