Skip to content

UnityTimeOutException: Couldn't start socket communication because worker number 10 is still in use. You may need to manually close a previously opened environment or use a different worker number. #3942

@ShivanshuPurohit

Description

@ShivanshuPurohit

When I run the following code in colab
env = UnityEnvironment(file_name='/content/Reacher_Linux_NoVis/Reacher.x86_64', worker_id=10, seed=10)
I get the aforementioned error
UnityTimeOutException: Couldn't start socket communication because worker number 10 is still in use. You may need to manually close a previously opened environment or use a different worker number.

I get the error no matter what worker_id I set it just says the passed worker_id is in use.

Metadata

Metadata

Assignees

Labels

bugIssue describes a potential bug in ml-agents.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions