- Home /
Getting an error message when clicking on Edit Settings for FacebookSDK
I am having an issue with getting the FacebookSDK to edit the settings in Unity. When I click on the Facebook tab and then click on Edit Settings, I get an error message.
The message is: FileNotFoundException: Could not load file or assembly 'Facebook.Unity.Settings, Version=7.13.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Is there a solution to this matter to allow me to edit the facebook settings so I can add the sdk package to my game?
I have included two pictures for you to see, the Inspector and the Project to see the location of the file, Facebook.Unity.Settings.
Answer by Cynikal · Jul 18, 2018 at 11:53 PM
I have found that this happens if the DLL was built with a different version of the .NET framework than what the unity player is using.
Where did you get the Facebook.dll file from? Facebook itself? or from the asset store?
Thanks for your input. I fixed the issue. First of all, I got the package from the Developer Facebook site with their download link. When installing the FacebookSD$$anonymous$$, you will need to delete the files in the Library and the files in the folder Settings. Then rebuild. Then remove the file file Facebook.Unity.Settings.dll in the Settings folder and the Facebook button link on the menu will appear. Then delete the Settings folder and the Library folder and rebuild. Now if you click on the link Edit Settings under the Facebook tab, in the Inpector, the settings will now appear.
Your answer
Follow this Question
Related Questions
Unity Facebook SDK "failed to compile resources with the following parameters" 1 Answer
Game Analytics & Facebook sdk android build error 1 Answer
Assets/scripts/fbLogin.cs(60,52): error CS1501: No overload for method `API' takes `3' arguments 1 Answer
Need help with importing Facebook SDK 0 Answers