com.unity.cloud.ktx 3.7.1

com.unity.cloud.ktx

Source docs
Notes: processedReleased October 3, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.0

Package Dependencies

  • com.unity.modules.unitywebrequest (1.0.0)

Improvements

  • On Unity 6.5 and newer, static state is reset via the `[AutoStaticsCleanup]` attribute instead of a `RuntimeInitializeOnLoadMethod`. This removes compiler warnings on CoreCLR based runtimes and reduces domain reload pressure, since the attribute initializes statics lazily.

Bug Fixes

  • Avoid `MarshalDirectiveException` on CoreCLR based runtimes and used a truncated image offset on Mono (invalid P/Invoke signature for `ktx_get_image_offset`).
  • Lifecycle management for `BuildPreProcessor.k_WebAssemblyLibraries` fixes compiler warnings on Unity 7 / CoreCLR.
  • (Test) Applied `NoAutoStaticsCleanup` to the immutable `TestTextureProvider.k_TestCases`, since `AutoStaticsCleanupCodeGenerator` fails on `readonly` fields with non-trivial initializers and then skips the whole test assembly.