com.unity.cloud.gltfast 6.21.0
Notes: processedReleased November 11, 2026
Download Options
Direct package downloads captured from Unity's package registry.
Unity Compatibility
Minimum Unity: 6000.0
Package Dependencies
- com.unity.burst (1.8.30)
- com.unity.collections (2.6.8)
- com.unity.mathematics (1.3.3)
- com.unity.modules.jsonserialize (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
Features
- glTFast now governs where the `await` continuations of an [ITextureImageLoader](xref:GLTFast.ITextureImageLoader) resume, so custom image loaders keep the main thread responsive without consulting the [IDeferAgent](xref:GLTFast.IDeferAgent). Split long synchronous work with `await Task.Yield()`.
- `LogCode.SkinJointNotFound`
Bug Fixes
- UAC2017 warnings on Unity 7000.0 ("Failed to generate a Burst direct call").
- Skinned meshes with vertex colors and texture coordinates use the vertex stream layout Unity requires and no longer log a warning on import.
- (Import) Loading a glTF from a rooted POSIX path (e.g. `/tmp/file.gltf`) failed with *URI must be absolute* on CoreCLR based Unity versions. Such a path is an ambiguous URI and CoreCLR resolves it to a relative one, unlike Mono. It is now promoted to an absolute file URI on both runtimes, both for the glTF itself and for the base URI that external buffers and images are resolved against.
- (Test) The test glTF JSON generator emitted different files on Mono and CoreCLR, which made `TestGltfJsonGeneratorTests.GeneratorOutputIsDeterministic` fail on CoreCLR based Unity versions. Mono rounds decimal midpoints away from zero while CoreCLR rounds them to even, so no `float.ToString` format is byte-stable across both. Floats are now formatted from a scaled integer with an explicit midpoint rule, at up to six fractional digits. Also, Unity 6's Mono evaluates float arithmetic at double precision while CoreCLR rounds every step to single precision, so random values are now computed in double and converted to float once.
- (Test) `MainThreadBudgetTests.GovernedAwaitsDoNotAllocate` failed in Unity 7000 IL2CPP players.
- Removed ambiguity with `System.Runtime.CompilerServices.AsyncHelpers` in .Net10
- (Import) `EXT_meshopt_compression` accessors sharing a bufferView at a non-zero offset failed to load (with collections checks enabled) or read the wrong stride, collapsing e.g. animation keyframes to their first value (thanks @camnewnham for #821).
- (Import) Main thread stall when loading glTF-binary files with large JSON chunks. The JSON chunk is now decoded to a string on a background thread when the defer agent predicts it exceeds the frame budget, like the JSON parse (thanks @nickdnk for #54).
- (Export) In Linear color space projects, roughness and metallic (and, for HDRP mask maps, occlusion) values derived from a Lit/Standard material's metallic-gloss map or an HDRP mask map were wrongly gamma-converted, making exported materials too glossy.
- (Export) Compiler error *`LitMaterialExport` could not be found* in Built-In Render Pipeline projects that include Shader Graph but no URP or HDRP (fixes #60).
- (Test) Tests compile and pass in non-debug builds (e.g. Unity 7000 players, where the `DEBUG` scripting symbol is no longer coupled to development builds).
- (Export) In non-debug builds, skinned meshes with bones outside the export got invalid joints. Such skins are now skipped in all builds and reported to the [ICodeLogger](xref:GLTFast.Logging.ICodeLogger) as `LogCode.SkinJointNotFound` error (instead of `Debug.LogError`).
- (Export) Skinned meshes with fewer than four bone influences per vertex were exported with invalid `JOINTS_0`/`WEIGHTS_0` accessors (e.g. `VEC2` instead of `VEC4`) and re-imported with a broken skin. Bone indices and weights are now padded with zeros to `VEC4` (fixes #45).
- (Export) Draco-compressed skinned meshes with fewer than four bone influences per vertex were exported with invalid `JOINTS_0`/`WEIGHTS_0` accessors (e.g. `VEC2` instead of `VEC4`). Bone indices and weights are now padded with zeros to `VEC4`. Requires Draco for Unity 5.6.0 or ne
