Search Unity

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

Can we get the agent ID in Unity?

Discussion in 'ML-Agents' started by camigord, Oct 20, 2020.

  1. camigord

    camigord

    Joined:
    May 29, 2019
    Posts:
    7
    Hi again,

    is there any way to get the
    agent_id
    (the one received within
    decision_steps
    ) within Unity? I can't find that attribute in the Agent class and was wondering if it is possible to get it somehow.
     
  2. vincentpierre

    vincentpierre

    Joined:
    May 5, 2017
    Posts:
    160
    Hi,

    We currently do not expose the agent_id as a public property as this id is dynamic and changes every episode. I will log this as a request and mention it to the team.