Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question actionsOut array length used by Heuristic will not change

Discussion in 'ML-Agents' started by MajorMoj0, Dec 29, 2020.

  1. MajorMoj0

    MajorMoj0

    Joined:
    Jan 19, 2016
    Posts:
    5
    I feel like this is a bug, and seems to have been brought up before: https://forum.unity.com/threads/cha...ers-component-seems-to-have-no-effect.860110/

    No matter what I set the space size to in inspector, the actionsOut array length used by Heuristics is coming back as 1. I have removed the components and started again, nothing seems to change it. The space type is continuous. When set to discrete, the OnActionReceived runs into the same issue.
     
  2. abbubakar_57

    abbubakar_57

    Joined:
    Nov 23, 2020
    Posts:
    12
    share a code with me where error occur
     
  3. MajorMoj0

    MajorMoj0

    Joined:
    Jan 19, 2016
    Posts:
    5
    turns out I'm dumb and it was an issue with the prefab. Sorry!