文档

​
​

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
    • Configure the client
      • Client configuration files
      • Use filter pattern files
      • Use value matching pattern files
      • Globally configure the branch explorer
      • Configure EOL conversion
      • Configure external tools
      • Configure syntax language
      • Configure the Open with menu
    • Version Control workflow
    • Version Control tools
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Configure EOL conversion

Configure end-of-line conversion settings in Unity Version Control.
阅读时间1 分钟
最后更新于 7 个月前

Enable an end of line (EOL) conversion mechanism to transform different end of lines of text into the right EOL type for your system.
If you enable EOL conversion, Unity Version Control (UVCS) uses EOL conversion during updates and each time you retrieve a file from the workspace. If you update an existing workspace, UVCS doesn’t rewrite unchanged files and converts only the new files that download.
EOL conversion only works when you download files. A check in always preserves the content you create.
There are two ways to enable EOL conversion, which is disabled by default:
  • Edit the
    client.conf
    file
    .
  • Create the
    eolconversion.conf
    file
    .
注意
The recommended best practice is to start with a clean workspace before you enable EOL conversion.
Refer to more information on how to use value pattern configuration files.

Edit the
client.conf
file

  1. Add the AutoEolConversion key:
    <AutoEolConversion>Auto</AutoEolConversion>
  2. Set one of the following conversion types:
    • None
      (default)
    • Auto
      (converts based on your operating system)
    • CR
    • LF
    • CRLF
  3. Restart the GUI after you change the settings to reload the
    client.conf
    file.

Create the
eolconversion.conf
file

  1. Create an
    eolconversion.conf
    file in one of the following locations:
    1. In your client installation directory.
    2. In the
      plastic4
      directory (under
      C:\Users\<em>user</em>\AppData\Local\plastic4
      on Windows or under
      $HOME/.plastic4
      on Linux and macOS systems).
  2. Set one of the following conversion types:
    • None
      (default)
    • Auto
      (converts based on your operating system)
    • CR
    • LF
    • CRLF
注意
If you don’t set a conversion type, UVCS uses the general conversion type configured in your
client.conf
file.

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

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

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

  • 在本页上
    • Edit the client.conf file

    • Create the eolconversion.conf file


报告此页面的问题