Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Python-Unity communication with frame-sync

Discussion in 'Multiplayer' started by Zylkowski_a, Jun 18, 2020.

  1. Zylkowski_a

    Zylkowski_a

    Joined:
    Jul 27, 2019
    Posts:
    157
    I would like to make machine learning project in Unity but the thing is I want machine learning agent to be implemented in python script because I am well experienced in pytorch and I don't really want to learn unity ml agents, python is much more universal. I would like unity to communicate with python in ping-pong manner. Unity gameObject AiController would send neural net inputs and receive neural net output in a frame basis. How can I make unity and python communicate "inside" Update method in my AiController monobehaviour?
     
    Deleted User likes this.