No special steps are required to upgrade to 17.0.1.
No special steps are required to upgrade to 17.0.0.
No special steps are required to upgrade to 16.0.2.
No special steps are required to upgrade to 16.0.1.
External Dependecy Manager Plugin folder has been changed, make sure to remove the old dlls to avoid DLLs duplication issues.
The minimum deployment target will be 15.2 for iOS development.
No special steps are required to upgrade to 15.1.0.
Minimum supported cocoapods version is bumped to 1.11.3 for iOS development.
No special steps are required to upgrade to 14.1.0.
Minimum supported Unity version is bumped to 2019.4.39f1 for Android, iOS or Windows. Minimum supported Unity version is bumped to 2021.3.4f1 if targeting webgl.
No special steps are required to upgrade to 14.0.0. Please take note of some of the common issues here.
No special steps are required to upgrade to 13.2.0. Minimum supported Unity version is bumped to 2019.4.39f1 if targetting iOS.
No special steps are required to upgrade to 12.0.0
No special steps are required to upgrade to 11.0.0
No special steps are required to upgrade to 9.2.0
No special steps are required to upgrade to 9.1.0
No special steps are required to upgrade to 9.0.0
No special steps are required to upgrade to 8.1.1
No special steps are required to upgrade to 8.1.0
No special steps are required to upgrade to 8.0.0
No special steps are required to upgrade to 7.21.2
No special steps are required to upgrade to 7.21.1
No special steps are required to upgrade to 7.21.0
No special steps are required to upgrade to 7.20.0
No special steps are required to upgrade to 7.19.2
No special steps are required to upgrade to 7.19.1
No special steps are required to upgrade to 7.19.0
No special steps are required to upgrade to 7.18.1
No special steps are required to upgrade to 7.18.0
No special steps are required to upgrade to 7.17.2
No special steps are required to upgrade to 7.17.1
No special steps are required to upgrade to 7.17.0
No special steps are required to upgrade to 7.16.1
No special steps are required to upgrade to 7.16.0
No special steps are required to upgrade to 7.15.1
No special steps are required to upgrade to 7.15.0
No special steps are required to upgrade to 7.14.1
No special steps are required to upgrade to 7.14.0
No special steps are required to upgrade to 7.13.0
No special steps are required to upgrade to 7.12.2
No special steps are required to upgrade to 7.12.1
No special steps are required to upgrade to 7.12.0
No special steps are required to upgrade to 7.11.1.
No special steps are required to upgrade to 7.11.0.
No special steps are required to upgrade to 7.10.1.
Upgrade to at least version 5.6 of unity.
No special steps are required to upgrade to 7.9.4.
Upgrade to at least version 5.4.1p3 of unity https://unity3d.com/unity/qa/patch-releases/5.4.1p3
No special steps are required to upgrade to 7.8.0.
No special steps are required to upgrade to 7.7.0.
No special steps are required to upgrade to 7.6.0.
When running on WebGL or WebPlayer the RawResult for IResult has changed. The Orgitional RawResult field may now be nested under a 'response' key in the returned json object.
No special steps are required to upgrade to 7.4.0.
In this release the files for the SDK have moved to a new location in order to enable easier updates compatible with the Unity's plugin management.
When upgrading, please delete the following folders and files prior to importing the latest SDK package.
No special steps are required to upgrade to 7.2.2.
No special steps are required to upgrade to 7.2.1.
FB.API
now targets v2.5 of the Graph API by default. In order to prepare for this change remove any explicit versioning in Graph API calls. eg: change v2.2/me/picture
to me/picture
The Facebook SDK for Unity v7.1.0 is a major version upgrade which features:
Requirements:
When Updating:
Assets/Facebook
Assets/Plugins/Android/facebook
Assets/Examples
Assets/Facebook
Assets/Examples
Assets/Plugins/Android/libs/
directory, remove: android-support-v4.jar
, bolts-android-1.2.0.jar
, and facebook-android-*
Assets/Plugins/iOS/
directory, remove: Bolts.framework
and FBSDK*
Setup:
namespace
for Facebook functions has changed in v7.x. Change the 'using' directive in your scripts to: using Facebook.Unity;
Performing login, getting permissions:
FB.Login
has been replaced and split into FB.LoginWithReadPermissions
and FB.LoginWithPublishPermissions
.Access tokens:
AccessToken
class has been introduced in v7.x that allows you to retrieve the current access token and inspect the permissions of a logged-in player. UserId
has moved into this class.Sharing:
FB.ShareLink
for sharing to Facebook.FB.FeedShare
has been added to bridge any gap in replacing FB.Feed
for sharing.FB.ShareLink
and FB.FeedShare
do not require publish permissions.App Events:
FB.LogAppEvent
to log events taken in your app to get useful analytics. This includes app installs, time spent in your app and ad targeting.FB.LogPurchase
as a convenience method for logging purchase events.App Links:
FB.GetAppLink
replaces FB.GetDeepLink
.FB.Mobile.FetchDeferredAppLinkData
added to support deferred deep linking.App Invites:
FB.Mobile.AppInvite
added for App Invites.FBResult
has been replaced.Method callbacks are now typed and have distinct result classes. For example: FB.API
will return an IGraphResult
and FB.Canvas.Pay
will return an IPayResult
. Refer to the call signature of each method to learn its result class.
Parsing callback results are simplified with the typed callbacks.
FB.API("/me?fields=first_name", HttpMethod.GET, delegate (IGraphResult result) { // Add error handling here if (result.ResultDictionary != null) { foreach (string key in result.ResultDictionary.Keys) { Debug.Log(key + " : " + result.ResultDictionary[key].ToString()); // first_name : Chris // id : 12345678901234567 } } });