Search code examples
c#facebookunity-game-enginefacebook-unity-sdk

Facebook SDK for Unity Ambiguous Error


am using unity 5.4.0p2 and am tring to use facebook sdk for unity version 7.8.0 but am getting this error when I imported the package :

Assets/FacebookSDK/SDK/Scripts/Results/AppLinkResult.cs(51,43): error CS0121:

The call is ambiguous between the following methods or properties: Facebook.Unity.Utilities.TryGetValue<System.Collections.Generic.IDictionary<string,object>>(this System.Collections.Generic.IDictionary<string,object>, string, out System.Collections.Generic.IDictionary<string,object>)

and

Facebook.Unity.Utilities.TryGetValue<System.Collections.Generic.IDictionary<string,object>>(this System.Collections.Generic.IDictionary<string,object>, string, out System.Collections.Generic.IDictionary<string,object>)

I have done a lot of search but nothing helped me , so can someone explain what am doing wrong ?


Solution

  • I fixed it, I deleted Facebook SDK and reimported it again and now it's working