Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UnityTimeOutException: The Unity environment took too long to respond When Using an executable

Discussion in 'ML-Agents' started by gaozy124, Jun 7, 2020.

  1. gaozy124

    gaozy124

    Joined:
    Jan 20, 2018
    Posts:
    18
    I can run training in Unity editor,it works well,but when i run training with exe, the exe can run,i can see the game window running well, but cmd can't start train ,after a while cmd throw unityTimeOutException.So is the official example,such as 3dBall

    ml-agents:1.0.2
    unity:2019.3.8
    tensorflow:2.2.0
    python:3.8
    cuda:10.2
     
  2. lin_cheng_TDSE

    lin_cheng_TDSE

    Joined:
    Apr 16, 2020
    Posts:
    7
    I am quite new to mlagents. But from my experience I think this has something to do with your port. mlagents uses port 5004 for training, so if your firewall or something else block that port it won't start training.
     
  3. yyang_unity925

    yyang_unity925

    Joined:
    Feb 26, 2019
    Posts:
    1