It seems to be a bit weird that a different seed creates a shape mismatch, but I’m not an expert in RL.
Could you post the stack trace once you run into this error and explain how the seed might change the data or parameter shapes?