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.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Barracuda and ML-agents installation

Discussion in 'ML-Agents' started by guidosalimbeni, Feb 19, 2020.

  1. guidosalimbeni

    guidosalimbeni

    Joined:
    Nov 10, 2017
    Posts:
    17
    Hi,
    I am migrating from an older project.
    After I installed ml-agent via package manager do I have to install also Barracuda plugin? Or Barracuda is included in the ml-agent package?
    Is it correct to think that the fact that barracuda has its own package is because I can install without ml-agents and that ml-agents will include barracuda latest realease?
    thanks
    Guido
     
  2. Procuste

    Procuste

    Joined:
    Feb 10, 2020
    Posts:
    12
    If you used the 0.14 version of ML-Agents, you don't have to install the Barracuda package, it is included (it is automatically installed when you install the package.json). However, for earlier version I think that you first need to install the Barracuda package then drag and drop the UnitySDK folder in your Asset directory.
     
  3. celion_unity

    celion_unity

    Unity Technologies

    Joined:
    Jun 12, 2019
    Posts:
    289
    Yeah, it depends on the version you're on. For 0.12 and below, Barracuda was included in the project. For 0.13.0, you need to install Barracuda from the package manager. For 0.14 (and the future), it will be a dependency of the com.unity.ml-agents package (even though it's only a local package currently).
     
  4. guidosalimbeni

    guidosalimbeni

    Joined:
    Nov 10, 2017
    Posts:
    17
    Hi, I installed version 0.14 and the update went smooth. So now the project is in Unity 2019.3.2.f1 (latest release)
    all good but I cannot build the project. It says that I miss the google library ???

    btw. can you confirm that I can build for webgl?

    I also tried the exaple project of ml-agents (the 3d ball) and try to build for the web but got the same error .. missing directive google llibrary ??

    Are you able to build for the web?

    thanks
    Guido
     
  5. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Hi,
    The gRPC library was fixed in the master branch of ML-Agents here and will be available in the next release.
    Cheers,
    Chris
     
  6. mwaqas1512

    mwaqas1512

    Joined:
    Jan 16, 2020
    Posts:
    1
    Can we install multiple versions of barracuda in same project? @calion_unity
     
  7. celion_unity

    celion_unity

    Unity Technologies

    Joined:
    Jun 12, 2019
    Posts:
    289
    I don't think this is possible with the Unity Package Manager (it's not specific to Barracuda or ML-Agents).