tencent-ailab / hok_env

Honor of Kings AI Open Environment of Tencent
https://aiarena.tencent.com/aiarena/en/open-gamecore
Apache License 2.0
627 stars 72 forks source link

Send resp failed: AIFrameStateReturnCode.GET_RESP_FAILED #21

Closed wanc97 closed 1 year ago

wanc97 commented 1 year ago

Thanks for open-sourcing this environment. When I execute reset() on this environment, the error in the picture will randomly appear. It may be at the beginning of the program; it may be after running for a day or two; it may be in wsl; it may be in the container. Hope to get an answer, thank you! image

hongyangqin commented 1 year ago

The interface is only support one instance, please make sure there is only one actor(one game) for each process.

wanc97 commented 1 year ago

instance

Thank you for your reply. I only open one environment (actor) in each process, and different processes are distinguished by runtime id. This problem tends to appear after running for a while.

hongyangqin commented 1 year ago

env1v1.py:512 self._send(smsg, id)

Please add some logs to show the smsg and the id when the problem reproduced