Skip to content
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

Application crash after loading a new scene with Airpods connected #2

Open
AldenBraverman opened this issue Aug 23, 2021 · 2 comments

Comments

@AldenBraverman
Copy link

I am having an issue with a crashing iOS application after loading a new scene with Airpods connected. Upon loading a new scene, without connecting Airpods, the application runs properly. However, as soon as Airpods are connected the application crashes. I am using Unity 2020.3.0f1, running iOS 14.6 on an iPhone 12 Pro. Below is the log collected from Xcode with the application crashing:

2021-08-23 19:09:26.697980-0400 airpods-plugin-debugging[10247:3918284] Built from '2020.3/staging' branch, Version '2020.3.0f1 (c7b5465681fb)', Build type 'Release', Scripting Backend 'il2cpp'
2021-08-23 19:09:26.702616-0400 airpods-plugin-debugging[10247:3918284] MemoryManager: Using 'Default' Allocator.
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A14 GPU
Initialize engine version: 2020.3.0f1 (c7b5465681fb)
2021-08-23 19:09:27.611487-0400 airpods-plugin-debugging[10247:3918284] Unbalanced calls to begin/end appearance transitions for <UnityViewControllerStoryboard: 0x13d307e50>.
UnloadTime: 3.378333 ms
2021-08-23 19:09:29.407236-0400 airpods-plugin-debugging[10247:3918284] HeadphoneMotion init complete
2021-08-23 19:09:29.407428-0400 airpods-plugin-debugging[10247:3918284] Set the headphone connection delegate
2021-08-23 19:09:29.407501-0400 airpods-plugin-debugging[10247:3918284] Set the rotation delegate
2021-08-23 19:09:29.407622-0400 airpods-plugin-debugging[10247:3918284] Motion is available. Started tracking motion
2021-08-23 19:09:29.531496-0400 airpods-plugin-debugging[10247:3918284] Headphones connected
2021-08-23 19:09:36.017451-0400 airpods-plugin-debugging[10247:3918284] Stopped tracking motion
2021-08-23 19:09:36.017978-0400 airpods-plugin-debugging[10247:3918284] Headphones disconnected
2021-08-23 19:09:37.220800-0400 airpods-plugin-debugging[10247:3918284] Motion is available. Started tracking motion
2021-08-23 19:09:37.242229-0400 airpods-plugin-debugging[10247:3918284] Headphones connected
-> applicationWillResignActive()
-> applicationDidBecomeActive()
-> applicationWillResignActive()
-> applicationDidBecomeActive()
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 6.361625 ms
2021-08-23 19:09:49.988894-0400 airpods-plugin-debugging[10247:3918284] Set the headphone connection delegate
2021-08-23 19:09:49.989204-0400 airpods-plugin-debugging[10247:3918284] Set the rotation delegate
Headphone Motion Initialized!
HearXR.airpodsTracking:Start()

Checking if Headphone Motion is available...
HearXR.airpodsTracking:Start()

Headphone Motion Available!
HearXR.airpodsTracking:Start()

Headphone Motion Started Tracking!
HearXR.airpodsTracking:Start()

libc++abi: terminating with uncaught exception of type Il2CppExceptionWrapper
terminating with uncaught exception of type Il2CppExceptionWrapper
(lldb) 
@anastasiadevana
Copy link
Owner

@AldenBraverman do you have a simple project which shows this issue that I could test out?

@AldenBraverman
Copy link
Author

The Unity Version of this project file is also 2020.3.0f1:
https://www.dropbox.com/sh/o591zxr0424xceh/AAADAe_k2yg3XfXPQj19OBv0a?dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants