com.unity.cloud.gltfast 6.10.0

com.unity.cloud.gltfast

Source docs
Notes: processedReleased December 23, 2024

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2020.3 (48f1)

Package Dependencies

Features

  • Extended access to meshes.
  • - `IGltfReadable.GetSourceMesh` returns source (de-serialized glTF) mesh.
  • - `GltfImportBase.Meshes` to retrieve all imported meshes.
  • - `GltfImportBase.GetMeshCount` returns the number of imported meshes per glTF mesh.
  • - `GltfImportBase.GetMeshes` to iterate the imported meshes of a single glTF mesh.
  • - `GltfImportBase.GetMesh` to access a single imported meshes.
  • Test asset *SubMesh*.
  • (CI) Automatically generated CI jobs (via Wrench/RecipeEngine; required for PackageWorks).
  • (CI) Renovate action to auto-update dependencies in CI jobs.
  • (CI) Renovate validation action.
  • `JpgQuality` option in `ExportSettings` for finer control of jpg image exports.
  • Project versions to test projects.

📈 Improvements

  • Mesh primitives of equal vertex buffer layout will result in a single Unity mesh with multiple sub-meshes instead of multiple Unity meshes (fixes #153).
  • ### Deprecated
  • `IGltfReadable.GetAccessor` (replaced by `IGltfReadable.GetAccessorData`).
  • `GltfImportBase.GetMeshes` (replaced by `GltfImportBase.Meshes`).

🔧 Bug Fixes

  • Preserve per-submesh bounding box.
  • `GltfAsset` properly cleans up scene instance's `Animation` component, which fixes repeated loading of animated glTFs.