Please post any questions about this tutorial in here. Please remember that since this tutorial is outdated it’s better to refer to the new series of Facebook tutorials I have created. In the interest of completion this support thread is here regardless.
Tutorial seems great so far but I’m currently struggling with a couple of errors. Initially I was hit with this:
Assets/FBHolder.cs(9,17): error CS0103: The name `FB’ does not exist in the current context
Assets/FBHolder.cs(15,20): error CS0103: The name `FB’ does not exist in the current context
I then added (due to consensus online)
But I’m now running into the following:
NullReferenceException: Object reference not set to an instance of an object
Facebook.Unity.FacebookBase.OnInitComplete (Facebook.Unity.ResultContainer resultContainer) (at Assets/Plugins/FacebookSDK/SDK/Scripts/FacebookBase.cs:217)
Facebook.Unity.FacebookGameObject.OnInitComplete (System.String message) (at Assets/Plugins/FacebookSDK/SDK/Scripts/FacebookGameObject.cs:62)
Facebook.Unity.Editor.EditorFacebook.Init (Facebook.Unity.HideUnityDelegate hideUnityDelegate, Facebook.Unity.InitDelegate onInitComplete) (at Assets/Plugins/FacebookSDK/SDK/Scripts/PlatformEditor/EditorFacebook.cs:79)
Facebook.Unity.FB+<Init>c__AnonStorey3.<>m__4 () (at Assets/Plugins/FacebookSDK/SDK/Scripts/FB.cs:234)
Facebook.Unity.FB+CompiledFacebookLoader.Start () (at Assets/Plugins/FacebookSDK/SDK/Scripts/FB.cs:864)
Really struggling to get any kind of build. Thanks in advance, sorry if this is pretty basic; very knew to Unity and not programmed properly in over 5 years!