com.unity.ml-agents 4.1.0

com.unity.ml-agents

Source docs
Notes: processedReleased July 29, 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.ai.inference (2.6.1)
  • com.unity.modules.imageconversion (1.0.0)
  • com.unity.modules.jsonserialize (1.0.0)
  • com.unity.modules.physics (1.0.0)

Changes

  • Migrated from gym to gymnasium (#6309)
  • Fixed `StackingSensor` compressed observation for sensors with more than 3 channels. (#6299)
  • Fixed a crash that could occur when exiting Play mode. (#6296)
  • Fixed compatibility of `Google.Protobuf_Packed.dll` with IL2CPP. (#6313)
  • Fixed `Google.Protobuf_Packed.dll` being shadowed by Sentis' copy of the DLL. (#6310)
  • Fixed a bug when using LSTM and SAC where the buffer might contain non-integer numbers of sequences. (#6301)
  • Fixed mixed CPU/GPU computation by ensuring tensors share a consistent device in the trainer. Updated training devices. (#6303)
  • Fixed typing on optional strings. (#6311)
  • Tightened assertion bound for `test_process_pixels_gray` (#6312)
  • Replace hardcoded value `200f` by `agentRotationSpeed` in `MoveAgent()`. (#6306)