VNImageRequestHandler - Failing with Error code 11 in iOS/iPadOS 14.5

Has anyone been seeing errors from VNImageRequestHandler since upgrading to iOS/iPadOS 14.5?

Specifically: Error Domain=com.apple.vis Code=11 "encountered unknown exception" 

It works for some images, but seems to fail on many that work fine on prior iOS/iPadOS versions.
We're seeing this is also in our iDetection app that uses CoreML for vision AI after upgrading to iOS 14.5. The same app worked with no problems is iOS 14.4.

https://apps.apple.com/app/id1452689527
I have a support incident open with Apple and also have filed a bug report. They had me try using VNVideoProcessor. When using this the issue still persists, except instead of throwing an error, it just skips the image and does not call the request. The support engineer claims he is only seeing the issue on a simulator, and not a real device. I am waiting on further feedback to clarify this. I am processing videos by extracting each frame, so I am dealing with many frames. Some frames will process, but most will not. It seems consistent as to which frames do and don't get processed. Prior to iOS/iPadOS 14.5 we had no issues at all. My fear is that this will not get fixed anytime soon since the problem seems to exist as part of the OS itself. Apple has all their libraries baked into the OS so it makes situations like these unsolvable until future OS releases. And even then, the users need to be on that newer OS. The support engineer suggestion if VNVideoProcessor did not work was to file a bug report and try going a layer lower and work with CoreML directly, bypassing the Vision API. If that is going to be the case, I might try to move off of CoreML entirely and work with openCV.
I am also having that error after upgrading to iOS 14.5. Before that with iOS 14.4 there was no error.
Here is the bug report number I filed: FB9090982.

Might be worth submitting your issues as well. I see there is going to be a 14.5.1 release. Maybe there is a chance to get a fix for this in there.
iOS 14.5 ruined my app with the same issue. Please fix it Apple

iOS 14.6 still doesn't fix it

Any idea how to fix this?

VNImageRequestHandler - Failing with Error code 11 in iOS/iPadOS 14.5
 
 
Q