Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

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