The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
Describe the bug
Ambiguous library namespace when import this package to unity
To Reproduce
Just import this package to unity using package manager.
Console logs / stack tracesCS0433 The type 'DataContractJsonSerializerSettings' exists in both 'System.Private.DataContractSerialization, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Assembly-CSharpCS0433: The type 'DataContractJsonSerializer' exists in both 'System.Private.DataContractSerialization, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Unity Version: Unity 2022.3.x, Unity 6
OS + version: Windows 11
ML-Agents version: 3 and 2.0.1
Torch version: (you can run pip3 show torch to get this)
Environment: (which example environment you used to reproduce the error)
Describe the bug Ambiguous library namespace when import this package to unity To Reproduce Just import this package to unity using package manager.
Console logs / stack traces
CS0433 The type 'DataContractJsonSerializerSettings' exists in both 'System.Private.DataContractSerialization, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Assembly-CSharp
CS0433: The type 'DataContractJsonSerializer' exists in both 'System.Private.DataContractSerialization, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Screenshots If applicable, add screenshots to help explain your problem.Environment (please complete the following information):
pip3 show torch
to get this)