Skip to content

Commit 8a08bc4

Browse files
author
Chris Elion
authored
Migration - add a note about updating both python and c# (#2900)
* Migration - add a note about updating both python and c# * Update Migrating.md * trailing whitespace * Add where to find the API versions
1 parent b255661 commit 8a08bc4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/Migrating.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Upgrading
2+
## :warning: Warning :warning:
3+
The C# editor code and python trainer code are not compatible between releases. This means that if you upgrade one, you *must* upgrade the other as well. If you experience new errors or unable to connect to training after updating, please double-check that the versions are in the same.
4+
The versions can be found in
5+
* `Academy.k_ApiVersion` in Academy.cs ([example](https://github.com/Unity-Technologies/ml-agents/blob/b255661084cb8f701c716b040693069a3fb9a257/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs#L95))
6+
* `UnityEnvironment.API_VERSION` in environment.py ([example](https://github.com/Unity-Technologies/ml-agents/blob/b255661084cb8f701c716b040693069a3fb9a257/ml-agents-envs/mlagents/envs/environment.py#L45))
7+
18
# Migrating
29

310
## Migrating from ML-Agents toolkit v0.10 to v0.11

0 commit comments

Comments
 (0)