com.unity.cloud.assets 1.0.0-exp.6

Experimental

com.unity.cloud.assets

Source docs
Notes: processedReleased February 5, 2024

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 2022.3

Features

  • Added `IMetadataContainer` and `IMetadataValue` to expose metadata operations.
  • Added `ISelectionFieldDefinition`, `ISelectionFieldDefinitionCreation`, and `ISelectionFieldDefinitionUpdate` which exposes selection specific field definition properties.
  • Added `StartTransformationAsync` and `GetTransformationAsync` methods to `IDataset`.

Improvements

  • [Breaking] `IAsset.GetCollectionAsync`, `IAsset.GetDatasetAsync`, `IAsset.GetFileAsync`, and `IDataset.GetFileAsync` throw `NotFoundException` if the requested entity fails to be found.
  • [Breaking] Moved `Multiselection` and `AcceptedValues` properties and `AddSelectionValuesAsync` and `RemoveSelectionValuesAsync` methods from `IFieldDefinition` to `ISelectionFieldDefinition`.
  • [Breaking] Changed types of `Metadata` and `SystemMetadata` properties of `IAsset`, `IDataset`, and `IFile` from `IDeserializable` to `IMetadataContainer`.
  • Updated `Asset Discovery` and `Asset Management` samples to display metadata values.
  • Unified exception logging across samples.
  • Error thrown on selection field definition creation when accepted values are not provided.
  • Update com.unity.cloud.common dependency to 1.0.0-pre.5.

Bug Fixes

  • Fixed asset searches returning incorrect number of results for large offsets.
  • Fixed `AssetType` searching to allow searching for more than one type.
  • Added validation to `SearchConditionValue`.
  • Fixed issue with metadata DateTime values not being serialized correctly.

API Changes

  • [Breaking] Removed `IsMatch`, `Include`, `Exclude`, and `Any` methods from `IAssetSearchFilter`.
  • [Breaking] Removed `GetAssetTypeFromString` from `AssetType`.
  • [Breaking] Turned `AssetDownloadUrl` internal
  • [Breaking] Removed `PortalMetadata` properties from `IAsset`, `IDataset`, and `IFile`.
  • [Breaking] Removed `SystemMetadata` properties from `AssetSearchFilter`, `DatasetSearchFilter`, and `FileSearchFilter`; searching by system metadata is not supported.
  • [Breaking] Removed `Metadata` and `SystemMetadata` properties from `IAssetUpdate`, `IDatasetUpdate`, and `IFileUpdate`; use `IMetadataContainer.AddOrUpdateAsync` instead.