Skip to content

Release/4.0.2#6283

Merged
Codengineer merged 6 commits intodevelopfrom
release/4.0.2
Feb 16, 2026
Merged

Release/4.0.2#6283
Codengineer merged 6 commits intodevelopfrom
release/4.0.2

Conversation

@Codengineer
Copy link
Copy Markdown
Contributor

@Codengineer Codengineer commented Feb 6, 2026

Proposed change(s)

Releasing version 4.0.2

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (New Release)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

@Codengineer Codengineer merged commit fb893f1 into develop Feb 16, 2026
57 of 59 checks passed
Codengineer added a commit that referenced this pull request Feb 25, 2026
* Incrementing version to 4.0.2

Updating Changelog

* Updating Wrench auto-generated jobs

* Incrementing version in Academy

* Fixing mixed-line ending pre-commit hook

* Fixing ModuleNotFoundError: No module named 'pkg_resources'

Removing dependency on obsolete pkg_resources

* Fixing mixed line endings

* Making required changes to support Fast Enter Play Mode

Making some static variable readonly. Reinitializing the other static variables in a ResetStaticsOnLoad method with the [RuntimeInitializeOnLoadMethod] attribute

* Release/4.0.2 (#6283)

* Incrementing version to 4.0.2

Updating Changelog

* Updating Wrench auto-generated jobs

* Incrementing version in Academy

* Fixing mixed-line ending pre-commit hook

* Fixing ModuleNotFoundError: No module named 'pkg_resources'

Removing dependency on obsolete pkg_resources

* Fixing mixed line endings

* Fixing pre-compiler symbols issue

* Making required changes to support Fast Enter Play Mode

Making some static variable readonly. Reinitializing the other static variables in a ResetStaticsOnLoad method with the [RuntimeInitializeOnLoadMethod] attribute

* Fixing pre-compiler symbols issue

* Fix precommit hook to use Python 3.11

- Configure generate-markdown-docs hook to use Python 3.11
- Avoids pkg_resources compatibility issue with Python 3.14
- Updated documentation generated by hook

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update .pre-commit-config.yaml

* Delete .python-version

* Fixing issues with tests

Preventing warnings in the console

* Fixing pre-commit issue

* Fixing 2 new Serialization specifications errors

TensorProxy.cs(47,23): error UAC1001: Field 'data' is a candidate for serialization but Unity will skip it because its type 'Unity.InferenceEngine.Tensor' lacks [Serializable] attribute. To fix this, either: make the field private (if serialization is not desired), add [System.NonSerialized] (to explicitly mark it as non-serialized), or add [Serializable] to type 'Unity.InferenceEngine.Tensor' (if serialization is desired).

RigidBodySensorComponent.cs(36,32): error UAC1010: Field 'm_PoseExtractor' has [SerializeField] but its type 'Unity.MLAgents.Sensors.RigidBodyPoseExtractor' is not [Serializable]; Unity will ignore this field. Consider replacing [SerializeField] with [System.NonSerialized] or make the type [Serializable] if serialization is desired.

* Fixing warnings appearing in Unity 6.5 for Examples

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants