Search Unity

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

Question Can ML agents step with Asynchronous methods?

Discussion in 'ML-Agents' started by smartriver97, Jun 9, 2020.

  1. smartriver97

    smartriver97

    Joined:
    Jun 3, 2020
    Posts:
    11
    In the agent,the 'Receive' is blocking the FixedUpdate from continuing until an action is received. Are there any Asynchronous methods to avoid the time wasting with agent run with some rules when waiting the action?
     
  2. vincentgao88

    vincentgao88

    Unity Technologies

    Joined:
    Feb 7, 2018
    Posts:
    21
    Hi smartriver97, what is your use case for such asynchronous method?
     
  3. smartriver97

    smartriver97

    Joined:
    Jun 3, 2020
    Posts:
    11
    For some games with high real-time requirements,the time waiting for decision is longer than the time needed.