文档

​
​

Development

User Acquisition

Monetization

工业

Unity Version Control

DevOps

On-prem

Gluon

Editor plug-in

Open Unity Dashboard

Unity Version Control

此页面不支持所选语言。
​
​
Unity Version Control
  • Overview
  • Cloud Repositories organization update
  • Installation
  • Use UVCS with the Unity Editor
  • Unity Version Control plugins
  • Concepts
  • Tutorials
    • Migrate from Git
    • Migrate from Perforce
    • Version Control settings
      • Manage users
      • Lock rules
      • Set up integrations
      • Create merge rules
      • Create a network allow list
      • Ignore files
      • Security scenarios
    • Configure the client
    • Version Control workflow
    • Version Control tools
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Ignore files

Configure files to ignore in Unity Version Control.
阅读时间2 分钟
最后更新于 10 个月前

Some files never need to be edited or checked in, so you can add them to the ignored list so that Unity Version Control (UVCS) doesn’t track them.
注意
When you add items to the ignore list, UVCS creates an
ignore.conf
file. You can also add this file to the ignored list.

Configure the ignored files list

You can configure your ignored files in the Unity DevOps Version Control application:
  1. In the Workspace Explorer tab, right-click the item.
  2. Select Add to ignored list and select the specific path or item.
  3. Select Apply rules to all workspaces to add the item to the ignored list in every workspace.
  4. Select OK.
注意
To configure the ignore files list, refer to filter pattern files in UVCS

Share ignore configuration

There are multiple ways you can share the
ignore.conf
file with your coworkers:
  • Add the
    ignore.conf
    file to the repository and check it in so that your coworkers recieve it when they next update their workspace.
  • Add the
    ignore.conf
    file to the
    plastic-global-config
    repository to deploy the file on every client.

Recommended ignore configuration for Unity projects

Be aware of certain files and directories in Unity Editor projects that you might or might not want to ignore.

Directories to ignore

Unity recommends that you ignore all directories and files that automatically regenerate in you Unity project. For example, the
Library
and
Temp
directories are the most populated paths in your Unity project. They can hold thousands of files and weigh several GBs, and if you delete them, Unity creates them again.

Directories not to ignore

Don't add the following directories to your ignore file:
  • Assets
    directory
  • Project settings
    directory
Without these directories, your coworkers can't open the Unity project.

Example Unity ignore file

The following is an example of an ignore file that works with a Unity project:
#Common directoriesLibrarylibraryTemptempObjobjBuildbuildBuildsbuildsUserSettingsusersettingsMemoryCapturesmemorycapturesLogslogs**/Assets/AssetStoreTools**/assets/assetstoretools**/Assets/AddressableAssetsData/*/*.bin***/assets/addressableassetsdata/*/*.bin***/Assets/StreamingAssets/aa.meta**/assets/streamingassets/*/aa/*.collabignore# Builds*.apk*.unitypackage#Plastic SCM related/ignore.conf*.private*.private.meta^*.private.[0-9]+$^*.private.[0-9]+.meta$# Gradle cache directory.gradle# Autogenerated project files/Assets/Plugins/Editor/JetBrains*/assets/Plugins/Editor/JetBrains*.vsExportedObj.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 Reportssysinfo.txt# Crashlytics generated filecrashlytics-build.properties#Mac.DS_Store*Thumbs.dbDesktop.ini

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Configure the ignored files list

    • Share ignore configuration

    • Recommended ignore configuration for Unity projects

      • Directories to ignore

      • Directories not to ignore

      • Example Unity ignore file


报告此页面的问题