edbeeching / godot_rl_agents

An Open Source package that allows video game creators, AI researchers and hobbyists the opportunity to learn complex behaviors for their Non Player Characters or agents
MIT License
942 stars 69 forks source link

What may be happening if Godot freezes when performing handshake? #36

Closed ryash072007 closed 1 year ago

ryash072007 commented 1 year ago

I'm using a Linux VM to run the sf part of the training and am using port-forwarding to allow it to communicate to my host computer. However, while performing handshake, the game just gets stuck. I have tried debugging this but nothing worked. Do you know what may be happening?

edbeeching commented 1 year ago

Is this with one of the example environments, or your own custom one?

ryash072007 commented 1 year ago

This happens with the BallChase example environment.

ryash072007 commented 1 year ago

Ill explain in detail: I am running the sf part (Python part) in a Linux VM whereas Godot is running on Windows(The OS that my laptop uses). The VM has a port forwarding rule such that it is a part of the localhost. The handshake sequence does initiate but it waits forever in the _get_dict_json_message function.

edbeeching commented 1 year ago

Hmm it is hard to pin down the issue, I have not tested in this sort of configuration before.

edbeeching commented 1 year ago

Closing feel free to reopen if needed.