The following code just does not behaves the same way previous to iOS 16 and with iOS 16. The blur effect does not seem to work correctly in iOS 16.
class GameScene: SKScene {
override func didMove(to view: SKView) {
let shapeNode = SKShapeNode(circleOfRadius: 30)
shapeNode.fillColor = .green
shapeNode.strokeColor = .clear
addChild(shapeNode)
let blurredShapeNode = SKShapeNode(circleOfRadius: 30)
blurredShapeNode.fillColor = .red
blurredShapeNode.strokeColor = .clear
let effectNode = SKEffectNode()
addChild(effectNode)
effectNode.addChild(blurredShapeNode)
let blurAngle = NSNumber(value: 0)
effectNode.filter = CIFilter(
name: "CIMotionBlur", parameters: [kCIInputRadiusKey: 30, kCIInputAngleKey: blurAngle])
}
}