Unity-Technologies / ml-agents

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.
https://unity.com/products/machine-learning-agents
Other
16.93k stars 4.14k forks source link

Can not get PhysXArticulations20201 branch working #3109

Closed Sohojoe closed 4 years ago

Sohojoe commented 4 years ago

I am experimenting with the new PhysX Articulations in Unity 2020.1 - when I pull the PhysXArticulations20201 branch and run, I get the following error:

Assembly 'Assets/ML-Agents/Plugins/ProtoBuffer/Grpc.Core.dll' will not be loaded due to errors:
Grpc.Core references strong named System.Interactive.Async, versions has to match. Assembly references: 3.0.1000.0 Found in project: 3.0.3000.0.

Unity v 2020.1.0a16

FYI @VilmantasBal

Sohojoe commented 4 years ago

As a temp HACK - replacing System.Interactive.Async with v3.0.1 seems to work:

System.Interactive.Async.dll.zip

nukadelic commented 4 years ago

Same in 2020.1.0a17, tried adding the following the the csproj file without any luck:

  <dependentAssembly>
    <assemblyIdentity name="System.Interactive.Async" publicKeyToken="94bc3704cddfc263" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.1000.0" />
  </dependentAssembly>

however @Sohojoe dll replacement file does the trick

Edit (17.March.20): using mlagents 0.14.1 + unity 2020.1.0b1 yields the same error - the dll above fixed that as well @surfnerd

surfnerd commented 4 years ago

We've updated the System.Interactive.Async assembly to resolve this issue. The fix was merged to master in #3512 and will be in the next release.

github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.