Closed sash-a closed 3 years ago
Seems like it was because of the version of the python API, I needed v0.23.0 to go with release 12 (for anyone else that has this issue)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug When setting actions through the python API the
ActionBuffers.DiscreteActions
in theOnActionReceived
method always contains a list of zeros. I have traced what I am sending through the python API all the way down to the following line inmlagent_envs/environment.py
:when printing the
step_input
or more generally_env_actions
it is not a list of zeros, but again on the c# side that is what is received.For some context here is the relevant lines in my python script (most importantly the step method):
Here is the debug I am doing in unity:
This is the debug that always print zeros, whereas on the python side all the way up to the line before it is sent, it does not print only zeros. Just to note when using inference I do see non zero values on the c# side.
Here is the relevant info in the editor
Environment