com.unity.cloud.draco 6.0.0-pre.1

Preview

com.unity.cloud.draco

Source docs
Notes: processedReleased November 9, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.0

Features

  • (Test) Performance tests.

Improvements

  • (Breaking) Moved the `Draco` namespace (including all sub-namespaces) to `Unity.Cloud.Draco`. The API Updater converts existing code automatically.
  • (Breaking) Renamed assembly definitions to be prefixed with `Unity.Cloud.` (e.g. `Draco` to `Unity.Cloud.Draco` and `Draco.Encode` to `Unity.Cloud.Draco.Encode`). Assembly definitions referencing them by name need to be updated.

Bug Fixes

  • Removed unused assembly reference `DracoEncoder` in `Draco.Editor.asmdef`.
  • Decoding a null or empty `byte[]` threw an exception instead of failing gracefully.

API Changes

  • Native plug-in binaries for all platforms. Encoding and decoding are implemented in C# now.
  • Build pre-processor that selected the native library variant per platform and Unity version.
  • Troubleshooting documentation about loading the native library on Windows and the Visual C++ runtime dependency.
  • `UnityVersion`, which was only used to pick a native library variant.
  • List of supported platforms in the documentation. Every platform Unity supports is expected to work now.
  • Decoding paths for bitstream versions older than 2.2 (meshes) and 2.3 (point clouds), which the native plug-in did not support either.
  • Obsolete `DracoMeshLoader`. Use `DracoDecoder.DecodeMesh` instead.
  • Obsolete `DracoDecoder.DecodeMesh` overloads accepting `NativeSlice`. Use the overloads accepting `NativeArray.ReadOnly` instead.
  • Obsolete `DracoEncoder.EncodeMesh` overloads with individual speed and quantization parameters. Use the overloads accepting `QuantizationSettings` and `SpeedSettings` instead.
  • Automatic removal of obsolete WebGL sub-packages (`com.unity.cloud.draco.webgl-*`). They don't conflict with the C# implementation anymore.
  • Decoding rejects texture coordinate predictions declaring more orientations than attribute entries, which let a few corrupted bytes trigger allocations of up to 2 GB.
  • Decoding rejects malformed streams that upstream Draco hardened against: out of range face indices in sequentially encoded meshes, negative point counts in point clouds and parallelogram/geometric normal predictions whose entries exceed the attribute size.