0
我想爲Facebook移動安裝廣告的Facebook SDK集成。統一Facebook的Facebook SDK的FB廣告測量
我加入到了Facebook Unity Plugin。我完成了FB APP ID,Keyhash等。
我使用FB Plugin 6.0。
我添加到MainMenu.cs中的FB Init代碼;
public static void ActivateApp(){
//FB.Init (true);
FB.ActivateApp();
}
空隙開始() {
ActivateApp();
//一些代碼.. }
我有錯誤;
NullReferenceException: Facebook object is not yet loaded. Did you call FB.Init()?
FB.get_FacebookImpl() (at Assets/Facebook/Scripts/FB.cs:28)
FB.ActivateApp() (at Assets/Facebook/Scripts/FB.cs:272)
MenuManager.ActivateApp() (at Assets/Scripts/Menu/MenuManager.cs:48)
MenuManager.Start() (at Assets/Scripts/Menu/MenuManager.cs:63)
感謝您的幫助。