envMapRotation not working with meshStandard

Three.js meshStandard material has rotation of the environment map using envMapRotation Can anyone help me with how to use that for me it’s appears to provide no rotations to envMap of mesh (not talking about the env of scene)

I can see the following error
“THREE.Material: ‘envMapRotation’ is not a property of THREE.MeshPhysicalMaterial.”

Below is my code

        const innerMaterial = new THREE.MeshPhysicalMaterial({
        color: new THREE.Color("#ffd740"),
        side: THREE.DoubleSide,
        metalness: 1,
        roughness: 0,
        clearcoat: 1,
        clearcoatRoughness: 0,
        envMap: foilEnvMap,
        envMapIntensity : 1,
        envMapRotation: new THREE.Euler( 0, Math.PI/2, Math.PI/2, 'XYZ' ),
    });

threejs version? it’s a recent addition