Hi - I’ve integrated the Facebook SDK (7.12.2) with my Unity project (2018.2.8f1). Everything works well in the editor and on Android. When testing on iOS, after an FB.Init() attempt I receive the following error:
FileNotFoundException: Could not load file or assembly ‘Facebook.Unity.IOS’ or one of its dependencies. The system cannot find the file specified.
-
My iOS portions of the SDK are indeed marked to be included for iOS in the inspector.
-
The SDK exists at this location: Assets/Plugins/FacebookSDK
-
Note: This makes the Facebook.Unity DLL exist here: Assets/Plugins/FacebookSDK/Plugins/iOS/Facebook.Unity.IOS
I could really use some advice here. I’ve found a couple of other people reporting this issue which is generally solved by things I’ve already done. Such as this.
Thanks for any info.
ps - we do have some non-FB DLLs in other folders outside of this Plugins folder. Such as JSON.net. That JSON DLL is being used as I can tell from the logs. Is it possible that once Unity detects a lib from one location it will only look for future libs from that same location?