ML-Agents Grid sensor shape error

I’m developing an environment uses ML-agents and want to use camera or Grid sensor to collect observations. But its about 2 weeks that I get the shape error as below:
‘’‘raise env_exception
mlagents_envs.exception.UnityObservationException: Decompressed observation did not have the expected shape - decompressed had (3, 90, 122) but expected [90, 122, 1]’‘’

I read in some pages that installing mlagent 3.0.0 will fix the problem. but for me unfortunately NOT.
I have python 3.10.12 and as mentioned mlagents 3.10.12.
can someone help me please?