Search Unity

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

Issue in ML Agents Penguins Tutorial at Unity Learn

Discussion in 'ML-Agents' started by drgamedev, Feb 9, 2020.

  1. drgamedev

    drgamedev

    Joined:
    Apr 4, 2019
    Posts:
    2
    Hi,

    I am trying to follow the Penguins ML Agents Tutorial. When I get to the stage of importing ML Agents in Unity, I get this error.

    Assets\ML-Agents\Scripts\InferenceBrain\ModelRunner.cs(56,57): error CS1061: 'NNModel' does not contain a definition for 'Value' and no accessible extension method 'Value' accepting a first argument of type 'NNModel' could be found (are you missing a using directive or an assembly reference?)
    Any idea what could be wrong?
     
  2. celion_unity

    celion_unity

    Joined:
    Jun 12, 2019
    Posts:
    289
  3. drgamedev

    drgamedev

    Joined:
    Apr 4, 2019
    Posts:
    2
    Thanks. I reverted to 0.4.0 and it fixed the issue. Appreciate the prompt and kind reply.
     
    syedmuzafar likes this.