Products and IAPs registered in Google Developers Consoles were successfully initialized.
(OnInitialized: PASS)
However, the BuyProduct function is not responding in the terminal environment.
After reviewing Logcat , the following log is printed
W/mono: Missing method UnityEngine.VR.VRSettings::get_enabled() in assembly /data/app/com.dohosoft.gol-1/base.apk/assets/bin/Data/Managed/UnityEngine.dll, referenced in assembly /data/app/com.dohosoft.gol-1/base.apk/assets/bin/Data/Managed/Stores.dll
I/Unity: BuyProductID: FAIL. Exception during purchase. System.MissingMethodException: Method not found: 'UnityEngine.VR.VRSettings.get_enabled'.
at UnityEngine.Purchasing.JSONStore.Purchase (UnityEngine.Purchasing.ProductDefinition product, System.String developerPayload) [0x00000] in :0
at UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product, System.String developerPayload) [0x00000] in :0
at UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product) [0x00000] in :0
at PurchaseManager.BuyProductID (.UIPurchaseSlot slot) [0x00000] in :0
UnityEngine.VR.VRSSettings::get_enabled() when VR is not enabled for your project.
Plugin installed is GooglePlayGames, Firebase, GoogleMobileAds, and IAP.
,Products and IAPs registered in Google Developers Consoles were successfully initialized.
(OnInitialized: PASS)
However, the BuyProduct function is not responding in the terminal environment.
After reviewing Logcat , the following log is printed
W/mono: Missing method UnityEngine.VR.VRSettings::get_enabled() in assembly /data/app/com.dohosoft.gol-1/base.apk/assets/bin/Data/Managed/UnityEngine.dll, referenced in assembly /data/app/com.dohosoft.gol-1/base.apk/assets/bin/Data/Managed/Stores.dll
I/Unity: BuyProductID: FAIL. Exception during purchase. System.MissingMethodException: Method not found: 'UnityEngine.VR.VRSettings.get_enabled'.
at UnityEngine.Purchasing.JSONStore.Purchase (UnityEngine.Purchasing.ProductDefinition product, System.String developerPayload) [0x00000] in :0
at UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product, System.String developerPayload) [0x00000] in :0
at UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product) [0x00000] in :0
at PurchaseManager.BuyProductID (.UIPurchaseSlot slot) [0x00000] in :0
UnityEngine.VR.VRSSettings::get_enabled() when VR is not enabled for your project.
Plugin installed is GooglePlayGames, Firebase, GoogleMobileAds, and IAP.
↧