Posts

Post marked as unsolved
241 Views

Dispatch queue stop working when use ARKit on iOS 14.2 and above

We have an issue within our main app and it's quite frustrating as we now can't promote them as planned and first have to figure out a workaround for this issue or wait for a solution. ARKit Bug: ARKit causes the dispatch queue(default-qos) to stop working. I have a simple code to simulate this scene. In the official ARKit demo. https://github.com/titman/arkit-14_2_bug/tree/master/arkit-by-example When using [CMMotionManager startDeviceMotionUpdatesUsingReferenceFrame:toQueue:withHandler:] method to open sensor monitor, and deviceMotionUpdateInterval setting is 0.04. print logs use callback block, about 1~15 mins later, CMMotionManager will stop working. This issue will be reproduced with high probability,you need to try multi times. Once a block occurs, it can never be recovered. Any suggestions? Thank you very much!
Asked
Last updated .