-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AR camera freeze when returning from background on iOS12 #257
Comments
Is this 100% reproducible? Or only occasionally? What version of ARCL are you building against? |
It is happening all the time, very easy to reproduce. |
Ah, so you've tested it within the last couple of hours! |
I've tested it again now with the latest updates |
I don't have any 12.x hardware left to test on. But maybe someone out there does and can help. |
I've tried eliminating lines of codes without luck. |
I expect that you’re correct in your assessment.
Did it ever work? Can you find an older SHA for ARCL that doesn’t freeze on 12?
There aren’t many of us on this project, and we all have other primary jobs. So it will be up to you to track down the commit that caused the failure.
Hal Mueller
[email protected]
… On Dec 1, 2019, at 11:20 PM, Shai Shamir ***@***.***> wrote:
I've tried eliminating lines of codes without luck.
Always getting to the deadlock.
I assume that if it is happening on the sample app and in my app all those who are using the library experience the same problem on iOS 12.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I don't recall a version it didn't freeze for iOS 12 in the scenario. |
Finding that this is 100% reproducible on iPhone SE on iOS 12. The AR camera always freezes on iOS 12 when a screenshot is taken of the screen in a view controller with ARCL implemented. Guess this is the same issue, and can test soon with earlier versions of ARCL to try to find if it ever worked without freezing. |
That would be super helpful! Thank you!
|
I have just tested this and can confirm that this issue does not occur on the example app in the first release, 1.0, commit 4527709 on an iPhone SE running 12.4.1 However it does occur in an app with the latest ARCL cocoapod with version 1.3.0 of ARCL. This is reassuring to note that it wasn't always present and has been introduced somewhere along the way. I'm not able determine from that stack trace or log what went wrong sorry. And not sure how to go about locating the commit that broke things. The issue became apparent for me when I was taking screenshots of the app and it was freezing, but if it affects all iOS 12 users - of which there are probably a lot - changing to a background app and then back again this is a bigger issue than I first thought. |
That's good info. Are you familiar with |
Wasn't familiar with bisect before but looks like a powerful tool, and a very useful one, I'll try that and report back, thanks. |
Sorry, unfortunately I haven't been able to find the cause of this issue or the commit that it started occurring on. I very recently had to install iOS 13.3 to check app compatibility with that and thought I would easily be able to go back to iOS 12.4.1, in order to find a fix to this plus another issue on iOS 12.4.3. The separate unrelated issue I was getting was "Error Domain=CMErrorDomain Code=102 "Failed to get true north" on an iPhone SE with iOS 12.4.3. That error was occuring on all ARKit apps, not just this with the ARCL framework, and meant the app froze. I had to upgrade to iOS 13 to see if that upgrade fixed the other error, and it did. However it looks like Apple are now not signing any versions of iOS 12 now so it's impossible to downgrade from iOS 13, once you have installed it. |
I remember having the same issue somewhere during development using ARCL.
|
What's happening?
AR camera will freeze when app is returning from background with an ongoing AR session.
Device tested: iPhone XS Max running iOS12.4
It seems like a deadlock on the “SCNTransaction.commit()” command in LocationNode.swift
How to reproduce:
Log messages:
Full stack:
The text was updated successfully, but these errors were encountered: