Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unexpected exception when trying to initialize communication: System.IO.IOException

Discussion in 'ML-Agents' started by rladbsgus94, May 13, 2021.

  1. rladbsgus94

    rladbsgus94

    Joined:
    Jun 4, 2020
    Posts:
    1
    Hi I have a problem with this error message.

    when i press play button in unity editor after i run mlagents-learn
    Console window keeps showing this error message

    Unexpected exception when trying to initialize communication: System.IO.IOException: Error loading native library "C:\Users\***\OneDrive\***\***\G_Crane_RL\Library\PackageCache\com.unity.ml-agents@2.0.0-exp.1\Plugins\ProtoBuffer\runtimes/win/native\grpc_csharp_ext.x64.dll"

    Unity Editor Version: 2020.3.6f1
    com.unity.ml-agents (c# package) version: 2.0.0-exp.1
    mlagents pip version:0.26.0
    Operating System: Window
    Operating System Version: Window 10

    How can I fix this ?
     
  2. ervteng_unity

    ervteng_unity

    Unity Technologies

    Joined:
    Dec 6, 2018
    Posts:
    150