Clipping Plane doesn’t work after material change

Hello again,

I feel as though this problem is simple but I am missing something. After I update my model’s material the clipping plane no longer has any effect on it. The clipping plane was affective before the change but after the material would not clip.

if (soloObj.current && soloObj.current.mesh) {

      const newMaterial = new THREE.MeshBasicMaterial({
        color: color,
        clippingPlanes: clippingPlane,
      clipIntersection: true,

      // Apply the new material to the selected object's mesh
      soloObj.current.mesh.material = newMaterial;

      // Update the scene to reflect the changes
      soloObj.current.mesh.material.needsUpdate = true;

is “clippingPlane” an array?

Sorry for the dealy in reply but yes the clippingPlane is an array

const clippingPlane = [
    new THREE.Plane(new THREE.Vector3(0, -1, 0), 5),