Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnityPlayer.dll #1

Open
Lu-jiang opened this issue Aug 12, 2020 · 3 comments
Open

UnityPlayer.dll #1

Lu-jiang opened this issue Aug 12, 2020 · 3 comments

Comments

@Lu-jiang
Copy link

Hello, is your file missing? I seem to be unable to run your program.

In addition, I have a problem. I am working on my own code. This error occurred:
"The Unity environment took too long to respond. Make sure that :\n"
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 are linked to the appropriate Brains
The environment and the Python interface have compatible versions.

Can you help me? Thank you

@crazylazylife
Copy link
Owner

Hi! Extremely sorry for the late reply. Can you give a little more context as to the problem you are facing while running the program?
Also in case of the UnityTimeOutException, have you changed the Behavior Type of the Agent from Heuristic to Default? Otherwise, the agent is not able to perform any action.

@Lu-jiang
Copy link
Author

This is the case, although I have changed the Behavior Type of the Agent from Heuristic to Default, but the exe file can be controlled by wsd by itself, and there is this error
hashahah

@crazylazylife
Copy link
Owner

I cannot exactly deduce the problem from here, however I suggest you tryout the following:

  • Check whether you are able to control the agent when the Behavior Type was Heuristic? I mean all the code defining the actions of the agent is working fine.
  • Also, check if there were any errors during the initial Development Build of the environment.
  • If all of the above points works fine and still there are errors, try out mlagents-learn command before gym_unity. mlagents-learn would clear out if there is any compatibility issue with the environments or the libraries you are using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants