Skip to content

mlagents_envs.exception.UnityTimeOutException: The Unity environment took too long to respond

Kyushik Min edited this page Dec 10, 2023 · 1 revision

에러 내용

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.

살펴볼 것

  • 에이전트의 behavior parameters의 Behavior type이 Default로 설정되어있는가
  • 유니티의 mlagents 버전과 파이썬의 mlagents 버전이 호환되는 버전인가
  • 경로에 한글이 포함되어 있는가
  • 유니티에서 환경을 실행했을 때 유니티 자체적으로 오류가 발생하지는 않는가
  • Agent 컴포넌트를 가지는 gameObject내에 'Decision Requester' 스크립트를 컴포넌트로 추가했는가