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
2
votes
2 answers

Getting error related to NiceVibrations plugin after using Facebook Unity SDK

Our game uses the NiceVibrations plugin for haptic feedback, and the Facebook Unity SDK for user login. After updating the Facebook Unity SDK to version to 13.2.0, we are suddenly getting a Parse Error in Xcode. It marks these 3 lines inside the…
threedollarbill
  • 165
  • 2
  • 11
2
votes
2 answers

I cant build my game in unity. How can i fix it?

How can i fix it? I tried restart and upload sdk. I need help. I tried build app for google play store they are errors : Is this problem about my game or my settings or unity i dont know but i need fix it someone please help…
2
votes
4 answers

Android resource linking failed : Unity Error :unexpected element found in

I am using getting this error when building with Admob (Google Mobile Ads SDK for unity) and Facebook Audience Network SDK for unity. If I use one of these separately in project then there comes no error but if I use both of these, then I start…
2
votes
0 answers

Facebook Unity SDK 7.15.1 Crashes on FB.Init()

Using Unity 2017.4.24f1, I created a new project and imported Facebook Unity SDK 7.15.1. Everything runs fine in the editor. After compiling and launching the demo app on my android phone, I clicked the FB.Init() button. The app crashed and…
Chong Lip Phang
  • 8,755
  • 5
  • 65
  • 100
2
votes
1 answer

How to update permissions for posting pictures to Facebook

I develop a game with unity3d, I've integrated facebook's unity3d-SDK. At login, I used public void LoginFB() { var perms = new List() { "public_profile", "email","user_friends"}; FB.LogInWithReadPermissions(perms,…
2
votes
1 answer

Facebook logins only in Editor or Development Build(Unity 3D)

I have a problem with the Facebook SDK. It works fine in Editor and in apk(if i check the development build option in Unity), but on release build it doesn't work. Here is my code using System.Collections; using System.Collections.Generic; using…
2
votes
0 answers

Facebook SDK unity: 'UnityEditor.PlayerSettings.get_applicationIdentifier'?

I have installed Facebook unity SDK 7.10.1 and start getting this error: "MissingMethodException: Method not found: 'UnityEditor.PlayerSettings.get_applicationIdentifier'. Rethrow as TypeInitializationException: An exception was thrown by the type…
2
votes
0 answers

facebook SDK appcompant unity3D Error

Unity crashing when I try to get build with facebook sdk. I try to get Android Studio export to fix issue but its not work too. its start when I add appcompat-v7-25.3.1 to project. I have appodeal sdk . imported to the project. so any one can help…
Enes
  • 99
  • 3
  • 13
2
votes
1 answer

unity 2017.1 facebook 7.10 login not working, dialogue not displaying (iOS)

Recently upgraded to unity 2017.1 and facebook sdk 7.10 and the login dialogue no longer displays on device when making the FB.LoginWithReadPermissions(..., ...) call. I do not receive a response in my callback function and the dialogue never…
Dillon Courts
  • 1,151
  • 1
  • 9
  • 11
2
votes
0 answers

Share Screenshot of Game through Facebook Unity SDK without URL

I am trying to share a screenshot of my game directly to the user's feed. While this seems to be possible through the iOS Facebook SDK https://developers.facebook.com/docs/sharing/ios like so, -…
christmas
  • 154
  • 1
  • 7
2
votes
2 answers

Missing title and description while sharing on facebook from unity

I implemented Facebook Sharing dialog using basic FB.SharLink and FB.FeedShare in one a sample project. Now when I create a new Facebook Application for Live project and Integrated into My Live Unity Project, It stopped working as it is…
Sarthak Shah
  • 137
  • 1
  • 15
2
votes
1 answer

facebook unity sdk 7.9.4, unity 5.4.1, Error building APK, Error: Fail to repackage resources

I'm using UNITY 5.4.1 and Unity Facebook SDK 7.9.4, but however, unable to build APK. ERROR: Command Invocation failure: failed to repackage resources. CommandInvokationFailure: Failed to re-package…
shilpa
  • 31
  • 2
2
votes
1 answer

Signing AWS Api Gateway request in Unity3D C#

I'm using Unity3D v5.5.1, with AWS-SDK-Unity v3.3.37.0. Since the Api Gateway doesn't generate an SDK for C#/Unity3D I'm trying to sign (SigV4) the request my self and have encountered difficulties. I've tried both manually signing and using the…
2
votes
1 answer

Facebook Unity SDK on Android crashes when fb.init is called

I'm working facebook unity SDK, everything is fine on unity editor, but doesn't work on android device. "App stopped" when fb.init called. I use unity 5.5.1 version and facebook sdk version is 7.9.4 here is code : public void teststr() { …
Muhammet Demir
  • 1,995
  • 5
  • 21
  • 42
2
votes
1 answer

How to find out if Unity Facebook SDK is in the project?

I have this code: m_FacebookVersion = Facebook.Unity.FacebookSdkVersion.Build; To get the version of Facebook, but I run into problems when Facebook doesn't exist. I can't find a Define to check against i.e. #if UNITY_EDITOR. I also tried Type…