com.unity.cloud.gltfast 7.0.0-exp.1

Experimental

com.unity.cloud.gltfast

Source docs
Notes: processedReleased August 28, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.0

Package Dependencies

Features

  • [IGltfBufferData](xref:Unity.Cloud.Gltfast.IGltfBufferData), read access to a glTF asset's buffer view and accessor data, acquired via [GltfImport.LeaseBufferData](xref:Unity.Cloud.Gltfast.GltfImport.LeaseBufferData*). It is also a lease: the import keeps its buffer memory alive until every lease is disposed, so data can be read past the end of loading. Results are reported as [BufferAccessStatus](xref:Unity.Cloud.Gltfast.BufferAccessStatus) rather than thrown or silently defaulted. Data is provided in glTF's own coordinate system and value range.
  • [IBufferDataConsumer](xref:Unity.Cloud.Gltfast.Addons.IBufferDataConsumer), an import add-on hook that runs once every buffer is loaded and decoded. It receives an [IGltfBufferData](xref:Unity.Cloud.Gltfast.IGltfBufferData) and can abort the import.
  • [ReadOnlyNativeStridedArray\](xref:Unity.Cloud.Gltfast.ReadOnlyNativeStridedArray`1) is public (was internal). It is a read-only, Burst job compatible view into strided (interleaved) data and gained `Length`, `ByteStride` and `IsCreated`.
  • [LogCode](xref:Unity.Cloud.Gltfast.Logging.LogCode) `BufferDataForceDisposed`, reported when a [GltfImport](xref:Unity.Cloud.Gltfast.GltfImport) is disposed while buffer data leases are still open.
  • [LogCode](xref:Unity.Cloud.Gltfast.Logging.LogCode) `BufferViewAccessFailed`, reported when a buffer view's data cannot be provided during import, for example because the glTF's offsets or lengths place it outside its buffer.
  • Support for high precision node transforms.
  • `EnumOrRawValue` for serialization of JSON strings to enum values that can have values unknown at build time.
  • [MeshoptFilter](xref:Unity.Cloud.Gltfast.Objects.MeshoptFilter) and [MeshoptMode](xref:Unity.Cloud.Gltfast.Objects.MeshoptMode) for custom JSON serialization of `Meshoptimizer.Filter` and `Meshoptimizer.Mode`.
  • `UriValue`, a wrapper for serialization of URIs.
  • [LogCode](xref:Unity.Cloud.Gltfast.Logging.LogCode) `RequiredPropertyMissing` and `IndexOutOfRange`, which distinguish an absent glTF property from an index that does not address an existing element.
  • [Color](xref:Unity.Cloud.Gltfast.Objects.Color) and [ColorAlpha](xref:Unity.Cloud.Gltfast.Objects.ColorAlpha) structs for serialization of glTF color values.
  • [ImageMimeType](xref:Unity.Cloud.Gltfast.Objects.ImageMimeType) for type-safe access to glTF image MIME types.
  • [Attributes](xref:Unity.Cloud.Gltfast.Objects.Attributes): Additional vertex attribute accessor properties are (de-)serialized from/to JSON.
  • - `TEXCOORD_n` for `n ≥ 8`
  • - `COLOR_n` for `n ≥ 1`
  • - `JOINTS_n`/`WEIGHTS_n` for `n ≥ 1` (required for multi-influence skinning)
  • - Application-specific attribute semantics (starting with underscore `_`)
  • [Root.Serialize(Stream)](xref:Unity.Cloud.Gltfast.Objects.Root.Serialize*) for JSON serialization via `System.Text.Json` without requiring callers to reach for `JsonSerializer`/`GltfJsonContext` directly.
  • [NullLogger](xref:Unity.Cloud.Gltfast.Logging.NullLogger), a no-op `ICodeLogger`.
  • Shared `ConsoleLogger.Instance` and `NullLogger.Instance` singletons.
  • (Export) [MaterialExport.TryAddImageExport](xref:Unity.Cloud.Gltfast.Export.MaterialExport.TryAddImageExport*) is public (was internal `MaterialExport.AddImageExport`).
  • Typed access to additional JSON properties — properties present in the JSON that have no matching typed member (e.g. fields from a newer, unsupported glTF version).
  • - [IReadOnlyPropertyContainer](xref:Unity.Cloud.Gltfast.Objects.IReadOnlyPropertyContainer) provides read-only access to additional properties on glTF extension or extras objects: lookup and enumeration (`Count`, `ContainsKey`, `Keys`, indexer, `foreach`, `TryGetValue`).
  • - [IPropertyContainer](xref:Unity.Cloud.Gltfast.Objects.IPropertyContainer) extends it with write access: `Set` (generic and `string`/`long`/`double`/`bool` overloads), `Remove` and `Clear`. Values are serialized to JSON on assignment, so custom extras and extensions can be authored for export.
  • - [ReadOnlyProperties](xref:Unity.Cloud.Gltfast.Objects.ReadOnly