Hummingbird Tutorial - MLAgents Python to Unity Connection

Hello,

On Tutorial - Training and getting a bit stuck with an error when running “mlagents-learn ./trainer_config.yaml --run-id hb_01”.

Receive this message;
mlagents_envs.exception.UnityTimeOutException: The Unity environment took too long to respond. Make sure that :
The environment does not need user interaction to launch
The Agents’ Behavior Parameters > Behavior Type is set to “Default”
The environment and the Python interface have compatible versions.

After I get the message to run Unity scene this shows up after ~1 minute.

I have double checked behavior and that a Decision Requester is on the agent.

Some search showed it may be a Mono issue, but I cannot find enough information on what I could change to test that solution. Any suggestions on solutions would be great. Thank you.

Are you getting any errors on the Unity side?

Thanks for responding!

Here are links to what I am seeing.

I restarted Unity to see if it was just one of those things. The tutorial said I’d see that message originally so I didn’t think anything of it when I saw the one in the console view.

I did switch the .yaml file from the one provided with the tutorial due to the version of ML Agents no longer accepting Default as an argument.