ML-agents command line environment doesn't sync with Unity environment.

I try to start training my model with

mlagents-learn

in the my command line with an Python 3.8.6 conda virtual environment. Unity is already listening to the port (see image) but if I start training in Unity I don’t get any messages in the terminal how I expect.

Instead I get an error after a while.

Start Python mlagents-learn first

Then hit play in Unity

Not the other way around

@ChillX I am already doing that.

In that case do you:

  • Have an agent in the scene with name matching a name in the config ?
  • If yes then Is request decision being called on agent either manually or by adding a decision requester component to it ?
  • Have you disabled auto stepping of the academy ?
  • if yes then are you manually stepping the academy ?