com.unity.ai.inference 2.6.0

com.unity.ai.inference

Source docs
Notes: processedReleased March 30, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.0

Package Dependencies

Features

  • Officially support ONNX opset up to version 25
  • Functional methods for `Swish` and `RMSNorm`
  • Support for the `alpha` argument for the `Swish` operator
  • Improved analytics and error reporting when importing models with unsupported operators
  • Now supporting Fast Enter Play Mode for CoreCLR compatibility
  • Added support for `Buffer` in PyTorch import
  • Tokenizer: Generic truncation with support for `longestfirst`, `onlyfirst` and `onlysecond`

Improvements

  • Now using Unity's `Mathematics.Random` instead of `System.Random`
  • Improved documentation for the `Tensor` and `Functional` APIs
  • Maintenance of documentation links
  • Updated documentation for Cubic interpolation mode support limitations

Bug Fixes

  • Updated behavior of `ReduceL1`, `ReduceL2`, `ReduceSumSquare` and `ReduceLogSum` operators when argument `noop_with_empty_axes` is `true` and `axes` are empty
  • `Interpolate` issue with argument `scaleFactor`
  • Fix when GPU allocations (`ComputeTensorData`) are used for tensors without a corresponding backend.
  • Prevent crashes when closing the editor while in Play mode
  • Fixed memory leak in PyTorch Import
  • Fix GPU crash on Nintendo Switch 2 for convolution with padding on GPU compute
  • Fixed issue with `Split` operator when importing `.sentis` file