- Sign-in feature doesn’t work appropriately when Facebook Login is tried with specific version of Unity.
In case login window is closed or your app is frozen with _BSMachError: port d803; (os/kern) invalid capability (0x14) “Unable to insert COPY_SEND”, click Edit > Project Settings > Player > iOS > Other Settings and unmark Render Extra Frame on Pause before building your project.
 - Unity 2018.3 and later versions are unavailable to sign in Hive SDK with Facebook.
Due to change in the process type of openURL on UnityAppController.mm file generated by Unity, make sure to edit the corresponding function as below.- The current code
| // Setting openURL on UnityAppcontroller.mm file generated from Unity. - (BOOL)application:(UIApplication*)app openURL:(NSURL*)url options:(NSDictionary<NSString*, id>*)options { id sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey], annotation = options[UIApplicationOpenURLOptionsAnnotationKey]; NSMutableDictionary<NSString*, id>* notifData = [NSMutableDictionary dictionaryWithCapacity: 3]; if (url) notifData[@"url"] = url; if (sourceApplication) notifData[@"sourceApplication"] = sourceApplication; if (annotation) notifData[@"annotation"] = annotation; AppController_SendNotificationWithArg(kUnityOnOpenURL, notifData); return YES; } |
- The code to be changed as
| // Change the codes as below. - (BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation { NSMutableDictionary<NSString*, id>* notifData = [NSMutableDictionary dictionaryWithCapacity: 3]; if (url) notifData[@"url"] = url; if (sourceApplication) notifData[@"sourceApplication"] = sourceApplication; if (annotation) notifData[@"annotation"] = annotation; AppController_SendNotificationWithArg(kUnityOnOpenURL, notifData); return YES; } |
|