Questions tagged [facebook-unity-sdk]

Questions related to Facebook's SDK for building Facebook apps with Unity

The Facebook SDK for Unity provides a collection of Facebook's social features to Unity apps, allowing them to integrate closely with Facebook features and data

Resources


Related tags

604 questions
5
votes
1 answer

Unity3d Android App can not be listed in Facebook AppCenter

I developed a game for Android with Unity3d. I am using the latest Facebook Unity SDK (Version 5.1). The game is NOT published on the Google Play Store, yet. I want to release it soon and I want Android to be a listed platform in the AppCenter. For…
5
votes
2 answers

java.lang.ClassNotFoundException: com.facebook.unity.FB whenever I test my build

I'm trying to incorporate the official Android SDK for Unity to my project. After I set everything on the facebook options inside Unity and make my build, everytime FB.Init() is called I get this: AndroidJavaException:…
4
votes
0 answers

Unity 2017.2.0f3 with Facebook 7.10.1 build error FormatException: Input string was not in the correct format

I am building a Unity project (targeting Android) under Unity 2017.2.0f3 (64bit MacOS High Sierra) with Facebook's Unity plugin v7.10.1 (released a few days ago), and am seeing this error at BUILD time: FormatException: Input string was not in the…
drewster
  • 5,460
  • 5
  • 40
  • 50
4
votes
1 answer

Unity exporting android project with Facebook SDK issue

I found an issue on exporting a project from Unity3D to Android Studio when Facebook SDK is involved. Currently I'm using Unity 5.4.1f1 and facebook-unity-sdk-7.9.0. Here the steps to reproduce the issue: Create a Unity project and add Facebook sdk…
4
votes
3 answers

java.lang.NoSuchMethodError: No static method zzb

I got the error, whenever I run my app on my phone: FATAL EXCEPTION: main E/AndroidRuntime(18680): java.lang.NoSuchMethodError: No static method zzb(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; in class…
Concel
  • 73
  • 1
  • 7
4
votes
2 answers

Unity Facebook SDK 7.0.2 Failed to compile in iOS

I'm currently using Unity 5.0.2 and Unity FB SDK 7.0.2 Beta having issue during iOS compilation. The errors are: Undefined symbols for architecture armv7: "_iosShareLink", referenced from: RegisterMonoModules() in RegisterMonoModules.o …
Cadrick Loh
  • 721
  • 1
  • 7
  • 19
4
votes
1 answer

Determining if Facebook app is installed from Unity

We are using the Facebook SDK for Unity (v6.0) and I'd like to now whether there's a way that I can check if the Facebook app is installed on the device. The reason is an existing bug in the Facebook SDK (see here: bug) I want to identify this…
lysergic-acid
  • 19,570
  • 21
  • 109
  • 218
4
votes
1 answer

RegisterMonoModules.cpp needs editing to fix error: #endif without #if #endif

When using Unity 5 (B18) and building for iOS the following error occurs: .../RegisterMonoModules.cpp:87:2: error: #endif without #if #endif // !(TARGET_IPHONE_SIMULATOR) && !defined(__arm64__) Easy to fix - just remove the #endif on the line above…
bjornrun
  • 143
  • 1
  • 5
4
votes
2 answers

Unity Facebook SDK not saving previous login session

I'm developing "Log in with Facebook" support in my game with the official Unity Facebook SDK. Actually I'm using the beta version 6.1 (but this problem where also in the stable version, 6.0). A user can log in successfully and then I can make FB…
Arol
  • 91
  • 1
  • 8
4
votes
2 answers

ParseFacebookUtils.LogInAsync gives an error on WebPlayer only

I am using the Parse Unity SDK along with the Facebook Unity SDK in my game so users can log in with their Facebook account. It's working well on mobiles (Android and iOS), and in the editor. In Facebook Canvas (WebPlayer), on my machine (Mac Mini),…
4
votes
0 answers

Unity Facebook Login not using iOS integrated Facebook

I am using Unity 4.6b19 + Unity Facebook 6.0 SDK + iOS8. When I log into facebook with no Facebook App installed but I am logged into Facebook via the iOS settings it still forces me to login using the browser. Should it not default to the native…
hey-ben
  • 61
  • 2
4
votes
2 answers

Old version of Unity WebPlayer binary gets loaded from cache, using Facebook Unity integration

We are in the process of switching our game from our own canvas page, to using the Unity integration on Facebook. However, during our development tests we have occasionally run into a problem where the webplayer binary gets loaded from the browser…
4
votes
3 answers

FB.Logout() not working in Facebook UnitySDK

I've managed to successfully log in FB using FB.Login function. Now I want to log out: FB.Logout(); Debug.Log("FB IS LOGGED IN " + FB.IsLoggedIn); I am expecting the above code to print the value of FB.IsLoggedIn as false and to ask me for a login…
Kolyunya
  • 5,973
  • 7
  • 46
  • 81
4
votes
2 answers

InternalCompilerError when I import the new Facebook 5.1 SDK into my existing project

If I import this package in a new project, I get no problems at all. But, when I try to import it into my existing project (that had the 5.0.4 version of the SDK), after the importing finished, I get the followin error message: Unhandled Exception:…
Gaston Claret
  • 1,000
  • 1
  • 7
  • 27
4
votes
1 answer

Handling errors codes

By developing some error handling code inside my Unity application in order to take custom actions when a request to Facebook fails (as forcing a local user logout or requesting a new permission) I saw some inconsistencies between the Facebook Graph…
1
2
3
40 41