MapView - Exceeded Metal Buffer threshold of 50000 resources

After updating to iOS 16.1 we realized that our micromobility app is no longer working as it was before.

Specifically, if we zoom in and zoom out several times, app gets frozen. It is not crashing, just freezing and becoming completely unresponsive. So user has no other option than killing the app. We have Mkpolygons drawn on map. I think we have about 10 polygons and that is it. So I honestly don't know how we can reach 50k resources.

As pointed out in stackoverflow, setting mapType to something else and returning it back to standard helps. (we tried doing this in regionDidChangeAnimated). Apparently it clears the map's cache. But it causes a big flickering issue (because we are setting map to something else). And we don't like to fix one issue by creating another issue.

I saw in Apple Developer Forums that someone else also pointed this out and in that topic they said this also happens in iOS 16.0, but I can't confirm that.

I am wondering if you guys could help us solve this issue in case we are doing something wrong. Thanks in advance.

MapView - Exceeded Metal Buffer threshold of 50000 resources
 
 
Q