How to disable VisionKit in WKWebView

I got a crash when right click on an image in a web page loaded by WKWebView. The log and stack trace show that it might related to VisionKit. I think it may related to copy text on image feature. I don't know how to fix it.

So I just want to disable VisionKit on WKWebView to check whether it fix the issue or not. Do you know how to do it?

Stack trace:

The log before crash:

[com.apple.VisionKit.processing] Error processing request from MAD on result: Error Domain=NSOSStatusErrorDomain Code=-50 "paramErr: error in user parameter list" UserInfo={NSLocalizedDescription=Error allocating CVPixelBuffer} request: <VKCImageAnalyzerRequest: 0x6000025562b0> requestID: 22 madRequestID: (Not Set) cancelled: NO
Post not yet marked as solved Up vote post of huync Down vote post of huync
803 views

Replies

Did you find a solution here? It's been plaguing me for a while now and there is very little info online.