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.

can't convert ml-agents project to webgl

Discussion in 'ML-Agents' started by SF5, Mar 14, 2020.

  1. SF5

    SF5

    Joined:
    Jul 29, 2015
    Posts:
    3
    I have tried several times to convert my project to webgl, but I can't build it. I get 138 errors such as
    Assets\ML-Agents\Scripts\DemonstrationStore.cs(3,7): error CS0246: The type or namespace name 'Google' could not be found (are you missing a using directive or an assembly reference?

    I tried making an empty new game (with just a cube) and saved it as webgl and that did work

    also downloaded UnitySetup-WebGL-Support-for-Editor-2019.3.5f1 seperately and installed that
    I am using Unity 2019.3.5f1 and ml-agents-0.13.1
    The pc-build is working fine.
    upload_2020-3-14_13-36-44.png
     
  2. SF5

    SF5

    Joined:
    Jul 29, 2015
    Posts:
    3