Merged
Conversation
Removing dependency on obsolete pkg_resources
antoine-agthe-unity
approved these changes
Feb 11, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change(s)
Releasing version 4.0.2
Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)
Types of change(s)
Checklist
Other comments