Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

conflict between 2 different versions MLAgent

Discussion in 'ML-Agents' started by guskiller, Apr 14, 2020.

  1. guskiller

    guskiller

    Joined:
    Apr 11, 2020
    Posts:
    1
    Hi,
    I have a conflict between 2 different versions MLAgent. In my assests I have a mlAgents from tutorial Karts, and try to install a new version trough the package manager. This generate an error because, it says that there is a two Academy scripts. How do I setup the new one?

    Thanks
     
  2. igsrd3unitytest

    igsrd3unitytest

    Joined:
    Mar 9, 2020
    Posts:
    5
    I have the same issue. There was a ML-Agent C# part 0.13.1 version copy in the Karting -> ML_Agents folder. I deleted that copy and installed 0.15.1 by package manager, but still had error messages said missing MLAgents. Copy 0.15.1 files into ML_Agents folder directly didn't work too. Does anyone know how to solve this?
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,767
    I'll send this over to the team for them to have a look.
     
  4. igsrd3unitytest

    igsrd3unitytest

    Joined:
    Mar 9, 2020
    Posts:
    5
    Thanks! Waiting for the solution. :)
     
  5. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Hi all,
    Please do not copy the ML-Agents folder from 0.15.1 into the project. It is in the form of a package now and should be installed through the local package install instructions. There may be incompatibilities between versions. You will need to manually make changes to the ml-kart code to make this work. You may also need to delete the Library folder in the Unity project to make sure any previously compiled assemblies are not corrupted.