기술 자료

​
​

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
  • On-Prem
    • Server configuration
    • Client configuration
    • Manage On-Prem licenses
    • Stop, start, or restart server
    • Server administration console
    • Configure UVCS
      • Server configuration files
      • Configure lock rules
      • Merge rules
      • Configure file compression
      • Proxy servers
      • Use a proxy server
      • Support alternative connections to a server
      • Configure repository storage
    • Use server read-only mode
    • Back up and restore data
    • Archive revisions
    • Force client upgrades
    • SSL certificates
    • GitServer
    • Use SAML authentication with Microsoft Entra
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Configure file compression

Set up the compression settings to reduce file sizes.
읽는 시간 2분
최근 업데이트: 10달 전

Use compression to reduce the size of files in your Unity Version Control (UVCS) system, save storage space, and speed up data transfer.
You can use the
compression.conf
file on the UVCS client to select the compression type.
Find the
compression.conf
file in the following locations:
  • On Linux or macOS:
    $HOME/.plastic4
    .
  • On WIndows:
    C:\Users\user\AppData\Local\plastic4
    .
  • The root directory of your workspace.
참고
If you have a
compression.conf
file in both locations, UVCS combines the rules. If the same rule is specified with two different values, the first one to appear in the file takes precedence.

Compression methods

You can select the type of compression that UVCS uses to store a new revision of a file in your database. The following operations create new changesets, which may contain new revisions that the compression rules affect:
  • check-in
  • fast import
  • sync replication
The
compression.conf
file supports the following compression options:
  • None
  • .zip
If the compression.conf file doesn't exist then the compression type of any file is
.zip
.

compression.conf
file configuration

Each line of the
compression.conf
file defines a compression type followed by a whitespace and a rule to match the file path. For example:
none .jpgzip .txt
This example
compression.conf
file ensures that UVCS compresses all
.txt
files as
.zip
files but doesn't compress any
.jpeg
files.

Compression rules

You can specify different types of rules, and the following is the order of application:
  1. File path rule
  2. File name rule
  3. File extension rule
  4. Wildcard rule
For example:
  1. /dir/foo.png
  2. foo.png
  3. .png
  4. /**/foo*.???
If a file path matches with a path rule, that rule defines the compression type. If not, UVCS tries to match the file with a file name rule.
For example, if you have the following
compression.conf
file under the
wkstest
workspace and you perform a checkin on the
main-test.png
,
user1-test.png
and
test-result.png
files, UVCS checks in all the
.png
files but the
/test01/main-test.png
file with the
.zip
compression method:
zip .pngnone /test01/main-test.png

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Compression methods

    • compression.conf file configuration

      • Compression rules


이 페이지의 문제 보고