기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Unity Cloud

Get Started

Asset Manager SDKs and services

Open Unity Dashboard

Unity Cloud

이 페이지는 선택한 언어로 제공되지 않습니다.
​
​
Unity Dashboard
  • Accounts
  • Organizations
  • Projects
  • Products
  • Billing
Developer Data
  • Introduction to the Developer Data Framework
  • Get started
  • View Diagnostics for your project
  • Privacy and consent
Unity Asset Manager
  • What's new
  • Asset Manager web
  • Asset Store
  • Manage Assets in the Editor
  • Unity Version Control
  • Developer documentation
    • Asset Manager SDKs and services
    • Integrations
      • Get started with your Asset Manager integration
      • Unity Cloud Python SDK
        • Prerequisites
        • Get started
        • Security information
        • Manage Identity
        • Manage assets
        • Manage asset versions
        • Manage datasets and files
        • Manage metadata
        • Manage collections
        • Manage transformations
        • Manage asset status
        • Manage VCS integrations
        • Open Dashboard
        • Configure Self-Hosted Deployment
        • Samples
        • Configure logs
        • Troubleshooting
      • Unity Pipeline Automation
      • Asset Manager for Unity Asset Transformer Studio
      • Asset Manager for Blender
Unity Pipeline Automation
  • About
  • Get started
  • Pipelines
  • Automations
  • Monitor jobs
  1. Unity Cloud Documentation
  2. Asset Manager
  3. Unity Cloud Python SDK

Manage asset versions

How to manage asset versions and version labels
읽는 시간 4분
최근 업데이트: 일 년 전

Before you begin

To access any assets, make sure the app has the right permissions. Read more about managing Identity.
참고
The following code snippets first require an initialization. To learn more about the
initialize()
and
uninitialize()
methods, read about getting started with the Unity Cloud Python SDK.

Submit or freeze an asset version

When you see an asset version as complete, to freeze a specific version, call
freeze_asset_version
with the information of the asset version and a changelog.
unity_cloud.assets.freeze_asset_version( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", asset_id = "0123456789abcdefghijklmn", asset_version = '1234abcd-ab12-cd34-ef56-123456abcdef', changelog = "Initial version")

Create a new unfrozen version

To create a new unfrozen version from a frozen version, call
create_unfrozen_asset_version
with the frozen version information.
new_version = unity_cloud.assets.create_unfrozen_asset_version( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", asset_id = "0123456789abcdefghijklmn", asset_version = '1234abcd-ab12-cd34-ef56-123456abcdef')

Search for versions of assets

To search for a version of an asset, follow these steps:
  1. Create your filters as dictionaries or objects that will contain the conditions.
  2. Create an array that will contain the collections in which to look up. Leave the array empty to search across all collections and assets version not linked to a collection.
  3. Call
    search_versions_in_asset
    with the organization ID, your project IDs, your filters, the amount of matches required in
    any_filter
    , the collections, and optionally the maximum number of results returned and the amount to skip for paging purpose.
include_filter = dict()exclude_filter = dict()any_filter = dict()include_filter[SearchableProperties.NAME] = StringFilter(StringLookUpTypes.REGEX, "asset\-.*")collections = []search_result = unity_cloud.assets.search_versions_in_asset(org_id, project_id, asset_id, include_filter=include_filter, exclude_filter=exclude_filter, any_filter=any_filter, any_query_minimum_match=1, collections=collections, limit_to=10, skip=0)

Create a version label

To create a version label, follow these steps:
  1. Create a
    LabelCreation
    object by passing the name, the description, and the color in hex code that it will display in the dashboard.
  2. Call
    create_label
    with the organization id and the previously created
    LabelCreation
    .
label_creation = LabelCreation(name="my new version label", description="label_description", color="#FFFFFF")label = unity_cloud.assets.create_label(org_id="1234567890", label=label_creation)

Update a version label

To update a version label, follow these steps:
  1. Create a
    LabelUpdate
    object and pass the name, the new description, and the new color in hex code that will display in the dashboard.
  2. Call
    update_label
    with the organization id and the previously created
    LabelUpdate
    .
label_update = LabelUpdate(name=label.name, description= "new description", color="#000000") unity_cloud.assets.update_label(org_id="1234567890", label=label_update)

Get a version label

To get a single version label, call
get_label
with the organization id and the name of the version label.
label = unity_cloud.assets.get_label(org_id="1234567890", name="the name")

List all version labels in an organization

To list all created version labels in an organization, call
list_organization_labels
with the organization id and whether or not you want archived labels or non archived labels.
labels = unity_cloud.assets.list_organization_labels(org_id="1234567890", is_archived=False)

Archive or unarchive a version label

To archive or unarchive a version label, call
archive_label
or
unarchive_label
with the organization id and the name of the label.
unity_cloud.assets.archive_label(org_id="1234567890", name="label name")unity_cloud.assets.unarchive_label(org_id="1234567890", name="label name")

Assign or unassign version labels to an asset version

Once version labels are created, to assign or unassign them to a specific asset version, call
assign_labels
or
unassign_labels
with the asset version information and an array with the names of the version labels to assign or unassign.
unity_cloud.assets.assign_labels( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", asset_id = "0123456789abcdefghijklmn", asset_version = '1234abcd-ab12-cd34-ef56-123456abcdef', labels = ["label1", "label2"]) unity_cloud.assets.unassign_labels( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", asset_id = "0123456789abcdefghijklmn", asset_version = '1234abcd-ab12-cd34-ef56-123456abcdef', labels = ["label1", "label2"])

List the version labels assigned to an asset version

Once labels have been assigned to an asset version, to list them, call
list_asset_labels
with the asset version information and whether or not you want to see archived version labels or non archived versions. You can also use limit and skip parameter for paging purpose.
asset_labels_names = unity_cloud.assets.list_asset_labels( org_id = "012345678912", project_id = "1234abcd-ab12-cd34-ef56-123456abcdef", asset_id = "0123456789abcdefghijklmn", asset_version = '1234abcd-ab12-cd34-ef56-123456abcdef', is_archived = false, limit = 100, skip = 0)

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

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

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

  • 보고 있는 페이지
    • Before you begin

    • Submit or freeze an asset version

    • Create a new unfrozen version

    • Search for versions of assets

    • Create a version label

    • Update a version label

    • Get a version label

    • List all version labels in an organization

    • Archive or unarchive a version label

    • Assign or unassign version labels to an asset version

    • List the version labels assigned to an asset version


이 페이지의 문제 보고