Hello everyone,
I’m having trouble with this common error.
You cannot show two modal windows at once
UnityEngine.GUI:ModalWindow(Int32, Rect, WindowFunction, String, GUIStyle)
Facebook.Unity.Editor.EditorFacebookMockDialog:OnGUI()
I am using Facebook SDK 7.9 (latest) with Unity 5.4.2 … And this error opens when I tap invite friends button which has the FB.AppRequest() function.
Here’s the invite code:
public void InviteFriends()
{
print ("Facebook Manager Invite Friends");
FB.AppRequest ("Join me to play Super Finger Runner!", null, null, null, null, null, "Invite to Super Finger Runner", delegate (IAppRequestResult result) {
Debug.Log ("haya : " + result.RawResult);
});
}
however I see the print “Facebook Manager Invite Friends”, and the error comes after,
and Debug.Log ("haya : " + result.RawResult) never prints.
This means FB.AppRequest is not working …
I search for fb.apprequest not working results and found this link, which was the subject but never solved.
Is there a chance that These 2 versions of facebook sdk and unity 5.4.2f2 will not work and
I have to update one or both ??
Anyone experience in this please
Thanks