facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
492 stars 257 forks source link

Facebook SDK does not work with Unity 2023 #717

Open Davidnovarro opened 7 months ago

Davidnovarro commented 7 months ago

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

The SDK DLLs are not compatible with 2023.2.16f1

Assembly 'Assets/FacebookSDK/Plugins/Windows/Facebook.Unity.Windows.dll' will not be loaded due to errors: Reference has errors 'Facebook.Unity'.

Assembly 'Assets/FacebookSDK/Plugins/Editor/Facebook.Unity.Editor.dll' will not be loaded due to errors: Reference has errors 'Facebook.Unity'.

Assembly 'Assets/FacebookSDK/Plugins/Canvas/Facebook.Unity.Canvas.dll' will not be loaded due to errors: Reference has errors 'Facebook.Unity'.

Assembly 'Assets/FacebookSDK/Plugins/Facebook.Unity.dll' will not be loaded due to errors: Unable to resolve reference 'UnityEngine.UI'. Is the assembly missing or incompatible with the current platform?

Screenshot of errors in Unity Console. image

wgordy-infini commented 4 months ago

Having this same issue. Any resolution?

wgordy-infini commented 4 months ago

Fixed the issue by deleting the examples folder then removing the library folder and restarting unity.