PKInkingTool markups getting disappeared

When drawing using PKInkingTool as soon as the drawing is finished markups getting disappear this happens in IOS 16 after Xcode 14 releases including Xcode 14 This cannot be simulated when built by Xcode 13.4

I'm getting the same issue, with a simple PKCanvasView, even after commenting out the InkingTool.

PKInkingTool markups getting disappeared
 
 
Q