very strange, it works for me, I checked it in several projects.
macOS Monterey 12.6.4 XCode 13.4.1 Metal 2.4 iOS 15 Unreal Engine 5.1.1
maybe the session config are wrong? try the diagram below to check