com.unity.meshopt.decompress 0.2.0-exp.1

com.unity.meshopt.decompress

Source docs
Notes: processedReleased November 14, 2025

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2022.3 (67f2)

Features

  • [DecodeGltfBuffer](xref:Meshoptimizer.Decode.DecodeGltfBuffer*) and [DecodeGltfBufferSync](xref:Meshoptimizer.Decode.DecodeGltfBufferSync*) overloads that allow loading from [NativeArray\.ReadOnly](xref:Unity.Collections.NativeArray`1.ReadOnly). This makes it easier to load meshopt compressed data from existing, native memory directly without the need to create a copy in managed memory (e.g. by using [DownloadHandler.GetNativeData](xref:UnityEngine.Networking.DownloadHandler.GetNativeData) or [ConvertExistingDataToNativeArray](xref:Unity.Collections.LowLevel.Unsafe.NativeArrayUnsafeUtility.ConvertExistingDataToNativeArray\(System.Void*,System.Int32,Unity.Collections.Allocator\))).
  • EditorConfig for keeping a consistent code-style.
  • (CI) Automatically generated CI jobs (via Wrench/RecipeEngine; required for PackageWorks).
  • (CI) Code coverage.
  • (Test) DecodeIndexSequenceJob performance test.
  • (Test) Package coherence tests.

📈 Improvements

  • Renamed package to *meshoptimizer mesh compression for Unity*
  • Licensed under Unity Terms of Service (see )
  • Raised minimum required Unity version to 2022 xLTS.
  • Raised dependency versions
  • - [Mathematics][Mathematics] to 1.2.6
  • - [Burst][Burst] to 1.8.24
  • Changed source code repository structure to monorepo.
  • (CI) Code format check is performed by dotnet format now.
  • Increased performance of index sequence decoding around 10%.

🔧 Bug Fixes

  • Removed invalid tag `seealso` from xml doc summary.
  • Invalid code references in XML docs.
  • Broken links in package documentation.
  • Example code compilation.
  • Broken link to Apple privacy manifest in documentation.
  • ### Deprecated
  • [DecodeGltfBuffer](xref:Meshoptimizer.Decode.DecodeGltfBuffer*) and [DecodeGltfBufferSync](xref:Meshoptimizer.Decode.DecodeGltfBufferSync*) overloads that use [NativeSlice](xref:Unity.Collections.NativeSlice`1) as parameters for no good reason.