Different display effects in AR

Xcode:12.5
iOS:14.5
I updated the latest version.
In the previous version. I blocked the anchor image with my hand, audioEntity has been kept in the AR scene.
But now, I blocked the anchor image with my hand, audioEntity will disappear. Why?
How do I achieve the previous effect?

Code Block
func session(_ session: ARSession, didAdd anchors: [ARAnchor])
  {
    anchors.compactMap { $0 as? ARImageAnchor }.forEach {
       
      rootAnchor = AnchorEntity(anchor: $0)
      arView.scene.addAnchor(rootAnchor)
       
      add()
    }
  }
  fileprivate func add()
  {
    let audioPlane = MeshResource.generatePlane(width: 0.2, height: 0.2, cornerRadius: 0)
    var audioMtl = SimpleMaterial()
    do {
      audioMtl.baseColor = try MaterialColorParameter.texture(TextureResource.load(named: "audio_play.png"))
    } catch {
    }
    let audioEntity = ModelEntity(mesh: audioPlane, materials: [audioMtl])
    audioEntity.position = [0, 0.1, 0]
    rootAnchor.addChild(audioEntity)
  }

Code Block
    arView.automaticallyConfigureSession = false
     
    configuration = ARWorldTrackingConfiguration()
    if ARWorldTrackingConfiguration.supportsFrameSemantics(.personSegmentationWithDepth)
    {
      configuration.frameSemantics = .personSegmentationWithDepth
    }
    configuration.environmentTexturing = .automatic
     
    guard let arAnchorCGImage = image.cgImage else { return }
    let arReferenceImage = ARReferenceImage(arAnchorCGImage, orientation: .up, physicalWidth: CGFloat(0.1))
    let arImages: Set<ARReferenceImage> = [arReferenceImage]
    configuration.detectionImages = arImages
    configuration.maximumNumberOfTrackedImages = 1
     
    arView.session.run(configuration)


I found a way, but no shadow, how can i show the shadow.

Code Block
func session(_ session: ARSession, didAdd anchors: [ARAnchor])
  {
    anchors.compactMap { $0 as? ARImageAnchor }.forEach {
       
      rootAnchor = AnchorEntity()
      rootAnchor.transform.matrix = $0.transform
      arView.scene.addAnchor(rootAnchor)
add()
    }
  }
  func session(_ session: ARSession, didUpdate anchors: [ARAnchor])
  {
    anchors.compactMap { $0 as? ARImageAnchor }.forEach {
      rootAnchor.transform.matrix = $0.transform
    }
  }
  fileprivate func add()
  {
    let audioPlane = MeshResource.generatePlane(width: 0.2, height: 0.2, cornerRadius: 0)
    var audioMtl = SimpleMaterial()
    do {
      audioMtl.baseColor = try MaterialColorParameter.texture(TextureResource.load(named: "audio_play.png"))
    } catch {
    }
    let audioEntity = ModelEntity(mesh: audioPlane, materials: [audioMtl])
    audioEntity.position = [0, 0.1, 0]
    rootAnchor.addChild(audioEntity)
  }


Different display effects in AR
 
 
Q