facebook-sdk-for-unity
facebook-sdk-for-unity copied to clipboard
【IOS NSInvalidArgumentException】 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:]
Checklist
- [x] I've updated to the latest released version of the SDK
- [x] I've searched for existing GitHub issues
- [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [x] I've read the Code of Conduct
- [x] This issue is not security related and can safely be disclosed publicly on GitHub
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
- Unity Editor Version:
2019.4.27f1
- Unity SDK Version:
v14.1.0 release
- Installation Platform & Verison:
iOS
version15.7.0
Goals
What do you want to achieve?
Expected Results
What do you expect to happen?
Actual Results
What actually happened? Can you provide a stack trace?
Steps to Reproduce
What are the steps necessary to reproduce this issue?
Code Samples & Details
Please provide a code sample, as well as any additional details, to help us track down the issue. If you can provide a link to a test project that allows us to reproduce the issue, this helps us immensely in both the speed and quality of the fix.
Note: Remember to format your code for readability:
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x99288 __exceptionPreprocess
1 libobjc.A.dylib 0x16744 objc_exception_throw
2 CoreFoundation 0x176fc0 +[NSObject(NSObject) _copyDescription]
3 UIKitCore 0xf751f0 -[UIResponder doesNotRecognizeSelector:]
4 CoreFoundation 0x2de98 ___forwarding___
5 CoreFoundation 0x2cf70 _CF_forwarding_prep_0
6 CoreFoundation 0x2a834 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
7 CoreFoundation 0xc6fd4 ___CFXRegistrationPost_block_invoke
8 CoreFoundation 0x9a1d0 _CFXRegistrationPost
9 CoreFoundation 0x408ac _CFXNotificationPost
10 Foundation 0x1b734 -[NSNotificationCenter postNotificationName:object:userInfo:]
11 UIKitCore 0x3d9d98 -[UIScene _invalidate]
12 UIKitCore 0x576800 -[UIWindowScene _invalidate]
13 UIKitCore 0x2c6ad0 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:]
14 UIKitCore 0x25a0fc -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:]
15 FrontBoardServices 0x1f510 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:]
16 FrontBoardServices 0x27c78 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2
17 FrontBoardServices 0xa308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
18 FrontBoardServices 0x1cdb0 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke
19 libdispatch.dylib 0x3a30 _dispatch_client_callout
20 libdispatch.dylib 0x74e0 _dispatch_block_invoke_direct
21 FrontBoardServices 0xbc70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
22 FrontBoardServices 0xb040 -[FBSSerialQueue _targetQueue_performNextIfPossible]
23 FrontBoardServices 0xf700 -[FBSSerialQueue _performNextFromRunLoopSource]
24 CoreFoundation 0xbb414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
25 CoreFoundation 0xcc1a0 __CFRunLoopDoSource0
26 CoreFoundation 0x5694 __CFRunLoopDoSources0
27 CoreFoundation 0xb05c __CFRunLoopRun
28 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific
29 GraphicsServices 0x1374 GSEventRunModal
30 UIKitCore 0x514b58 -[UIApplication _run]
31 UIKitCore 0x296098 UIApplicationMain
32 UnityFramework 0x18194 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
33 MergeHoney 0x7e00 main + 28 (main.mm:28)
34 ??? 0x1045e1da4 (符號缺漏)
Same problem. Any solution ?
Hello! Can you share more details about how to reproduce this bug, please? Thank you!
@SergioGuerreroFB Hello, i open the app and kill the process, the notification show me the message "The app has crashed"
Have same issue on 11.0 SDK version. All crashes was on iOS 15.7 (iPad and iPhone)
Any updates here?
Same problem. Any solution ?
@SergioGuerreroFB Fb, could you help me, the issue is serious for me, please.
No worries, this comes from Apple, this is a « silent crash » which cannot be seen from the user. More information here: https://developer.apple.com/forums/thread/714464?answerId=729646022#729646022