Hi
I get this error on a custom gymnasium wrapped environment with variable episode length.
I suspect that it might be near episode end where it cannot collect x samples.
I did strip away all the logic in the env - that is having chat gpt do it so there might be stray artifacts in there, but its gets to produce the same error as I my real life scenario
I did it in a Jupyter notebook, so it's not directly debuggable but close.
LightZeroBug.ipynb
@puyuan1996 As discussed on discord I here post a reproduction of the issue. I also did at printout of current numpy version and light zero version (0.2.0)