com.unity.cloud.ktx 3.5.0

com.unity.cloud.ktx

Source docs
Notes: processedReleased August 20, 2025

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 2021.3 (46f1)

Package Dependencies

  • com.unity.modules.unitywebrequest (1.0.0)

Features

  • Loading KTX/Basis from [NativeArray\.ReadOnly](xref:Unity.Collections.NativeArray`1.ReadOnly). This makes it easier to load KTX 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\))).
  • - [TextureBase.LoadFromBytes](xref:KtxUnity.TextureBase.LoadFromBytes\(Unity.Collections.NativeArray{System.Byte}.ReadOnly,System.Boolean,System.UInt32,System.UInt32,System.UInt32,System.Boolean\))
  • - [TextureBase.Open](xref:KtxUnity.TextureBase.Open\(Unity.Collections.NativeArray{System.Byte}.ReadOnly\))
  • Test project `KtxText`
  • (CI) Automatically generated CI jobs (via Wrench/RecipeEngine; required for PackageWorks).
  • (CI) Improved code format check reporting.
  • Unit tests for KTX/Basis editor importers.
  • Unit tests for [BasisUniversalTexture](xref:KtxUnity.BasisUniversalTexture).
  • (Test) Package coherence tests.

Improvements

  • (Performance) KTX is not copied to managed memory anymore when using [LoadFromUrl](xref:KtxUnity.TextureBase.LoadFromUrl*) or [LoadFromStreamingAssets](xref:KtxUnity.TextureBase.LoadFromStreamingAssets*).
  • Changed source code repository structure to monorepo.
  • Separated unit tests into dedicated tests package.
  • Bumped minimum required Unity version to 2021.3.46f1
  • Updated binaries to version 1.5.0 (contains KTX-Software 4.4.0).
  • Updated Linux binaries (only) to version 1.5.1 (to maintain compatibility with Ubuntu 20.04).
  • ### Deprecated
  • Loading KTX/Basis from [NativeSlice](xref:Unity.Collections.NativeSlice`1) (please use [NativeArray\.ReadOnly](xref:Unity.Collections.NativeArray`1.ReadOnly) overloads; see above).

Bug Fixes

  • Proper exception is thrown when loading from a [NativeSlice](xref:Unity.Collections.NativeSlice`1) with a stride other than 1.
  • Copyright owner of *Basis Universal Transcoder* set to *Binomial LLC* in `Third Party Notices.md`.
  • Test instability due to unreleased memory.
  • Android binaries are now 16kB page size compatible (fixes #98)
  • ### Deprecated
  • `KtxTestCaseAttribute`, which was `public` by accident.