Quantcast
Channel: Questions in topic: "iap"
Viewing all 595 articles
Browse latest View live

How To revert effects of an in app purchase?

$
0
0
let's say there is an in app purchase in my game, for 1 dollar you get 50 coins. now someone buys 50 coins for 1 dollar on play store and immediatley refunds his purchase, so technically the guy has 50 coins for free, so how do i take back 50 coins from him when he refunds the purchase?

Failure to build about Google Play Billing And Unity IAP

$
0
0
**Unity Version: 2019.4.18f1 build OS: Android** ---------- **imported plugin list** 1. FirebaseDatabase (dotnet4) 2. google-play-plugins-1.3.0 1. GoogleMobileAds-v5.4.0 1. GooglePlayGamesPlugin-0.10.12 ---------- **Context of this file: "launcherTemplate.gradle"** // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN apply plugin: 'com.android.application' dependencies { implementation project(':unityLibrary') implementation 'androidx.multidex:multidex:2.0.1' } android { compileSdkVersion **APIVERSION** buildToolsVersion '**BUILDTOOLS**' compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { minSdkVersion **MINSDKVERSION** targetSdkVersion **TARGETSDKVERSION** multiDexEnabled true applicationId '**APPLICATIONID**' ndk { abiFilters **ABIFILTERS** } versionCode **VERSIONCODE** versionName '**VERSIONNAME**' } aaptOptions { noCompress = ['.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**] ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" }**SIGN** lintOptions { abortOnError false } buildTypes { debug { minifyEnabled **MINIFY_DEBUG** useProguard **PROGUARD_DEBUG** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** jniDebuggable true } release { minifyEnabled **MINIFY_RELEASE** useProguard **PROGUARD_RELEASE** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** } }**PACKAGING_OPTIONS****SPLITS** **BUILT_APK_LOCATION** bundle { language { enableSplit = false } density { enableSplit = false } abi { enableSplit = true } } }**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP** ---------- Project Setting -> Player ![alt text][1] ![alt text][2] [1]: /storage/temp/174778-q1.png [2]: /storage/temp/174779-q2.png ---------- **Error Message:** Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details > Configure project :launcher Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE> Task :unityLibrary:preBuild UP-TO-DATE> Task :unityLibrary:GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE> Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE> Task :launcher:preBuild UP-TO-DATE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE> Task :unityLibrary:preReleaseBuild UP-TO-DATE> Task :unityLibrary:GooglePlayGamesManifest.plugin:preReleaseBuild UP-TO-DATE> Task :unityLibrary:FirebaseApp.androidlib:preReleaseBuild UP-TO-DATE> Task :unityLibrary:GooglePlayGamesManifest.plugin:checkReleaseManifest> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:checkReleaseManifest> Task :unityLibrary:FirebaseApp.androidlib:checkReleaseManifest> Task :unityLibrary:checkReleaseManifest> Task :launcher:prepareLintJar> Task :unityLibrary:processReleaseManifest> Task :unityLibrary:packageReleaseRenderscript NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE> Task :unityLibrary:GooglePlayGamesManifest.plugin:processReleaseManifest> Task :unityLibrary:FirebaseApp.androidlib:processReleaseManifest> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE> Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseAidl NO-SOURCE> Task :unityLibrary:FirebaseApp.androidlib:compileReleaseAidl NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE> Task :unityLibrary:FirebaseApp.androidlib:packageReleaseRenderscript NO-SOURCE> Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseRenderscript NO-SOURCE> Task :unityLibrary:generateReleaseBuildConfig> Task :unityLibrary:FirebaseApp.androidlib:compileReleaseRenderscript NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources> Task :unityLibrary:compileReleaseAidl NO-SOURCE> Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseRenderscript NO-SOURCE> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResValues> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResources> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE> Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResValues> Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResources> Task :unityLibrary:generateReleaseResValues> Task :unityLibrary:generateReleaseResources> Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseResources> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources> Task :unityLibrary:FirebaseApp.androidlib:packageReleaseResources> Task :unityLibrary:packageReleaseResources> Task :unityLibrary:prepareLintJar> Task :unityLibrary:generateReleaseSources> Task :unityLibrary:prepareLintJarForPublish> Task :unityLibrary:mergeReleaseShaders> Task :unityLibrary:compileReleaseShaders> Task :unityLibrary:generateReleaseAssets> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile> Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseRFile> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseRFile> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig> Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseBuildConfig> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJar> Task :unityLibrary:GooglePlayGamesManifest.plugin:prepareLintJar> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseSources> Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseSources> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseBuildConfig> Task :unityLibrary:FirebaseApp.androidlib:prepareLintJar> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseSources> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:javaPreCompileRelease> Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileRelease> Task :unityLibrary:packageReleaseAssets> Task :launcher:preReleaseBuild> Task :launcher:compileReleaseAidl NO-SOURCE> Task :launcher:compileReleaseRenderscript NO-SOURCE> Task :launcher:checkReleaseManifest> Task :launcher:generateReleaseBuildConfig> Task :launcher:generateReleaseSources> Task :launcher:mainApkListPersistenceRelease> Task :launcher:generateReleaseResValues> Task :launcher:generateReleaseResources> Task :unityLibrary:generateReleaseRFile> Task :unityLibrary:processReleaseJavaRes NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac> Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseJavaWithJavac> Task :unityLibrary:FirebaseApp.androidlib:compileReleaseJavaWithJavac> Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibCompileRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileRelease> Task :unityLibrary:FirebaseApp.androidlib:prepareLintJarForPublish> Task :unityLibrary:GooglePlayGamesManifest.plugin:prepareLintJarForPublish> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJarForPublish> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders> Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseShaders> Task :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseShaders> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets> Task :unityLibrary:FirebaseApp.androidlib:compileReleaseShaders> Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseShaders> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseAssets> Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseAssets> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets> Task :unityLibrary:FirebaseApp.androidlib:packageReleaseAssets> Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseAssets> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibRuntimeRelease> Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:processReleaseJavaRes NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE> Task :unityLibrary:FirebaseApp.androidlib:processReleaseJavaRes NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease> Task :unityLibrary:FirebaseApp.androidlib:bundleLibResRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibResRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders> Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJniLibFolders> Task :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseJniLibFolders> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithMergeJniLibsForRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:transformNativeLibsWithMergeJniLibsForRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithStripDebugSymbolForRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:transformNativeLibsWithStripDebugSymbolForRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease> Task :unityLibrary:GooglePlayGamesManifest.plugin:transformNativeLibsWithIntermediateJniLibsForRelease> Task :unityLibrary:mergeReleaseJniLibFolders> Task :unityLibrary:FirebaseApp.androidlib:transformNativeLibsWithMergeJniLibsForRelease> Task :unityLibrary:FirebaseApp.androidlib:transformNativeLibsWithStripDebugSymbolForRelease> Task :unityLibrary:FirebaseApp.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease> Task :unityLibrary:javaPreCompileRelease> Task :unityLibrary:compileReleaseJavaWithJavac> Task :unityLibrary:bundleLibCompileRelease> Task :unityLibrary:bundleLibRuntimeRelease> Task :unityLibrary:bundleLibResRelease> Task :unityLibrary:transformNativeLibsWithMergeJniLibsForRelease> Task :unityLibrary:transformNativeLibsWithStripDebugSymbolForRelease> Task :unityLibrary:transformNativeLibsWithIntermediateJniLibsForRelease> Task :launcher:mergeReleaseResources> Task :launcher:javaPreCompileRelease> Task :launcher:createReleaseCompatibleScreenManifests> Task :launcher:processReleaseManifest D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\launcher\src\main\AndroidManifest.xml:27:9-34:50 Warning: activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\launcher\src\main\AndroidManifest.xml:27:9-34:50 Warning: activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present> Task :launcher:processReleaseResources> Task :launcher:compileReleaseJavaWithJavac> Task :launcher:compileReleaseSources> Task :launcher:lintVitalRelease> Task :launcher:mergeReleaseShaders> Task :launcher:compileReleaseShaders> Task :launcher:generateReleaseAssets> Task :launcher:mergeReleaseAssets> Task :launcher:validateSigningRelease> Task :launcher:signingConfigWriterRelease> Task :launcher:checkReleaseDuplicateClasses FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings 99 actionable tasks: 99 executed UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Note: D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:checkReleaseDuplicateClasses'. > 1 exception was raised by workers: java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.android.billingclient.BuildConfig found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AccountIdentifiers found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AcknowledgePurchaseResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$BillingResponseCode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$FeatureType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$SkuType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientImpl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientImpl$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientImpl$zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientStateListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingFlowParams$ProrationMode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingResult$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ConsumeParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ConsumeParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ConsumeResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PriceChangeConfirmationListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PriceChangeFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PriceChangeFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ProxyBillingActivity found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.Purchase found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.Purchase$PurchaseState found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.Purchase$PurchasesResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PurchaseHistoryRecord found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PurchaseHistoryResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PurchasesUpdatedListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetails found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetails$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetailsParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetailsParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetailsResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzaa found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzab found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzac found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzad found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzae found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzaf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzag found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzah found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzai found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzaj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzak found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzal found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzam found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzan found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzao found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzap found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzap$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzb$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzi found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzk found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzm found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzn found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzo found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzp found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzq found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzr found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzs found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzt found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzu found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzv found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzw found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzx found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzy found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzz found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Go to the documentation to learn how to Fix dependency resolution errors. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 12s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) CommandInvokationFailure: Gradle build failed. C:/Program Files/Unity/Hub/Editor/2019.4.18f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease" stderr[ Note: D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:checkReleaseDuplicateClasses'. > 1 exception was raised by workers: java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.android.billingclient.BuildConfig found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AccountIdentifiers found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.AcknowledgePurchaseResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$BillingResponseCode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$FeatureType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClient$SkuType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientImpl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientImpl$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientImpl$zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingClientStateListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingFlowParams$ProrationMode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.BillingResult$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ConsumeParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ConsumeParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ConsumeResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PriceChangeConfirmationListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PriceChangeFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PriceChangeFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.ProxyBillingActivity found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.Purchase found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.Purchase$PurchaseState found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.Purchase$PurchasesResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PurchaseHistoryRecord found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PurchaseHistoryResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.PurchasesUpdatedListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetails found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetails$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetailsParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetailsParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.SkuDetailsResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzaa found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzab found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzac found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzad found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzae found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzaf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzag found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzah found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzai found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzaj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzak found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzal found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzam found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzan found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzao found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzap found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzap$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzb$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzi found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzk found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzm found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzn found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzo found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzp found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzq found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzr found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzs found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzt found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzu found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzv found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzw found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzx found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzy found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.android.billingclient.api.zzz found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Duplicate class com.google.android.gms.internal.play_billing.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:) Go to the documentation to learn how to Fix dependency resolution errors. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 12s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 ] stdout[ Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details > Configure project :launcher Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE> Task :unityLibrary:preBuild UP-TO-DATE> Task :unityLibrary:GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE> Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE> Task :launcher:preBuild UP-TO-DATE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE> Task :unityLibrary:preReleaseBuild UP-TO-DATE> Task :unityLibrary:GooglePlayGamesManife Build completed with a result of 'Failed' in 97 seconds (96992 ms) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bf] in :0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) ---------- **In conclusion,** When Google Play Billing is imported, Playing editor and building is Activated well. However, When I import Unity IAP, Editor play is working. But Building get failure. And then i got the error message. Additionally, importing IAP package and resisting Unity Analystics is done normally. Please help me.

Unity IAP is crashing on Android - (Unity2017.3.1 and IAP 2.2.6)

$
0
0
Hello Unity Gurus! I am currently using Unity 2017.3.1 and IAP 2.2.6 for my game. Due to some reasons, it is not able to update by latest Unity version. But when it builds, app is crashing on Android devices. I tested and IAP 2.2.6 is crashing on Android devices on empty projects. So I think this is because of Unity and IAP is not compatible. Is there any solution to figure out this problem? Thanks,

Guideline 2.1 - Performance - App Completeness

$
0
0
**We found that your in-app purchase products still exhibited one or more bugs when reviewed on iPad running iOS 14.3 on Wi-Fi.** **Specifically, your App displayed an error alert when we tapped to buy In-app purchase.** IAP is working on my device, I tried to solve the problem in many ways but they still rejecting the build with this message. I'm validating the receipt in the backend Any help? using System; using System.Collections; using System.Collections.Generic; using System.Text; using Nrjwolf.Tools; using UnityEngine; using UnityEngine.Networking; using UnityEngine.Purchasing; using UnityEngine.Purchasing.Security; using UnityEngine.UI; using SimpleJSON; using Duck.Http; using Duck.Http.Service; public class IAPManager : MonoBehaviour, IStoreListener { private const string API_URL = "api"; private static IStoreController m_StoreController; private static IExtensionProvider m_StoreExtensionProvider; //Step 1 create your products private string vipForever = "vipforever"; public string vipForeverPrice = "0"; public Text upgradeText; public GameObject initPanel; private bool showRestore = false; private string restoreMessage = ""; //************************** Adjust these methods ************************************** private void HandleSuccess(HttpResponse response) { JSONNode receiptData = JSON.Parse(response.Text); if (receiptData["code"] == 200) { foreach (JSONNode iap in receiptData["in_app"].Children) { if (iap == vipForever) { PlayerPrefs.SetInt("vip_purchase", 1); } } } } void checkRecipt(string receipt) { JSONObject reciptDic = new JSONObject(); reciptDic.Add("receipt", receipt); string bodyJsonString = reciptDic.ToString(); Http.PostJson(API_URL + "checkReceipt", bodyJsonString).OnSuccess(HandleSuccess) .OnError(response => Debug.Log(response.StatusCode)) .Send(); } public void InitializePurchasing() { if (IsInitialized()) { return; } var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance()); //Step 2 choose if your product is a consumable or non consumable builder.AddProduct(vipForever, ProductType.NonConsumable); UnityPurchasing.Initialize(this, builder); } private bool IsInitialized() { return m_StoreController != null && m_StoreExtensionProvider != null; } //Step 3 Create methods public void getVipForever() { BuyProductID(vipForever); } public void purchasePack(string packName) { BuyProductID(packName); } //Step 4 modify purchasing public PurchaseProcessingResult ProcessPurchase(PurchaseEventArgs args) { // Unity IAP's validation logic is only included on these platforms. var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance()); //Get a reference to IAppleConfiguration during IAP initialization. var appleConfig = builder.Configure(); try { var receiptData = Convert.FromBase64String(appleConfig.appReceipt); AppleReceipt receipt = new AppleValidator(AppleTangle.Data()).Validate(receiptData); foreach (AppleInAppPurchaseReceipt productReceipt in receipt.inAppPurchaseReceipts) { if (productReceipt.productID == vipForever) { PlayerPrefs.SetInt("vip_purchase", 1); Scenes.Load("HomeScreen"); } } } catch (FormatException e) { } return PurchaseProcessingResult.Complete; } //**************************** Dont worry about these methods *********************************** void Start() { // If we haven't set up the Unity Purchasing reference if (m_StoreController == null) { // Begin to configure our connection to Purchasing InitializePurchasing(); } } void BuyProductID(string productId) { if (IsInitialized()) { Product product = m_StoreController.products.WithID(productId); if (product != null && product.availableToPurchase) { Debug.Log(string.Format("Purchasing product asychronously: '{0}'", product.definition.id)); m_StoreController.InitiatePurchase(product); } else { showRestore = true; restoreMessage = "Cannot purchase this item, Please check your internet connection or your account"; Debug.Log("BuyProductID: FAIL. Not purchasing product, either is not found or is not available for purchase"); } } else { showRestore = true; restoreMessage = "Cannot initialize Billing settings! Please check your internet connection or your account"; Debug.Log("BuyProductID FAIL. Not initialized."); } } public void RestorePurchases() { if (!IsInitialized()) { Debug.Log("RestorePurchases FAIL. Not initialized."); return; } if (Application.platform == RuntimePlatform.IPhonePlayer || Application.platform == RuntimePlatform.OSXPlayer) { Debug.Log("RestorePurchases started ..."); var apple = m_StoreExtensionProvider.GetExtension(); apple.RestoreTransactions((result) => { if (!result) { showRestore = true; restoreMessage = "You don't have any purchases!"; //IOSNativeAlert.ShowAlertMessage("Restore Purchases", ); } else { showRestore = true; restoreMessage = "Your purchases had been restored. You can restart the game."; //IOSNativeAlert.ShowAlertMessage("Restore Purchases", "Your purchases had been restored. You can restart the game."); } }); } else { Debug.Log("RestorePurchases FAIL. Not supported on this platform. Current = " + Application.platform); } } private void OnGUI() { if (showRestore) { #if UNITY_IOS IOSNativeAlert.ShowAlertMessage("Patterns Puzzles", restoreMessage); showRestore = false; #endif } } public void OnInitialized(IStoreController controller, IExtensionProvider extensions) { initPanel.SetActive(false); m_StoreController = controller; m_StoreExtensionProvider = extensions; vipForeverPrice = controller.products.WithID(vipForever).metadata.localizedPrice.ToString() + " " + controller.products.WithID(vipForever).metadata.isoCurrencyCode; upgradeText.text = "Upgrade For " + vipForeverPrice; extensions.GetExtension().RefreshAppReceipt(receipt => { // This handler is invoked if the request is successful. // Receipt will be the latest app receipt. checkRecipt(receipt); }, () => { // This handler will be invoked if the request fails, // such as if the network is unavailable or the user // enters the wrong password. showRestore = true; restoreMessage = "Cannot initialize Billing settings! Please check your internet connection or your account"; }); } public void OnInitializeFailed(InitializationFailureReason error) { Debug.Log("OnInitializeFailed InitializationFailureReason:" + error); } public void OnPurchaseFailed(Product product, PurchaseFailureReason failureReason) { //showRestore = true; //restoreMessage = "Cannot initialize Billing settings! Please check your internet connection or your account"; Debug.Log(string.Format("OnPurchaseFailed: FAIL. Product: '{0}', PurchaseFailureReason: {1}", product.definition.storeSpecificId, failureReason)); } }

Unity IAP not reliable in sandbox when restoring subscription after app deleted and re-installed

$
0
0
While the restore function seems to work reliably with non-consumable products in sandbox / Testflight, it often doesn't return the purchased subscription product.

I'm using the Unity IAP sample code for the actual restore function. Purchasing subscription always works fine. Purchasing AND Restoring non-consumables also works fine. Restoring of the subscription: Sometimes it works, other times not. When it doesn't work, it permanently doesn't work (regardless of the number of attempts I make, restarting or re-installing the app). To make restore work again, I have to purchase the subscription again, delete and re-install and then usually it works (until I delete and re-install again).

I guess if it was a bug in my code, it would never work. The fact that it works fine on certain installs but not on others makes me think it may be a problem with Unity Purchasing or Apple.

I haven't released the app yet so I don't know if this is only a problem with sandbox environment or not.

About the behavior of Unity IAP by iOS

$
0
0
When the billing process of UnityIAP is performed, the purchase process is performed normally, but Process Purchase may be called after the end and PurchaseFailureReason .DuplicateTransaction may be returned with an error. This phenomenon occurs only on iOS Ver14 or later. Does anyone know the cause of this? Thank you

Unity IAP Init Fails with NoProductsAvailable

$
0
0
It seems that some of my players are having the IAP controller fail to initialise, most are fine but our Crashlytics have caught many players having it fail. Cant seem to have it happen on a local device and cant see anything consistent between devices. Is there a good way to debug what could be causing this? I am on the most recent IAP version (2.2.6) but it has been happening for a while on different versions. IOS is fine, but Google play and Amazon both have the same issue.

Unity Play Store and App Store Subscriptions validation (IAP)

$
0
0
Hi all, I have searched a lot, and with a lot, I mean really A LOT. My problem is that I can't find a working solution to validate whether a subscription in the Google Play Store & Apple App Store is still active. No YouTube tutorials on this topic, IAP documentation that isn't understandble, no forum posts with a real solution etc. The only thing I need is a piece of code that will do the thing below and work in 2021 (simplified): - Cross platform check if someone's auto renewable subscription is still active (Apple app store & Google Play Store). if(subscription.active == true){ Data.SubscriptionAccess = true; } else{ Data.SubscriptionAccess = false; } Data is a class that contains static data throughout my app. It basically enables if you can get to exclusive scenes for which you have to have a subscription. I really hope someone can come with a solution... Thanks in advance for your time!

Best BaaS for storing IAP information

$
0
0
What would be considered the best BaaS service for storing In-App purchases in an app so that the user can re-login on a different device and still retrieve this info?
I will NOT be requring any other features like chat, leaderboard etc.

My options are : - Playfab - GetBrainCloud - ChilliConnect - LootLocker - AWS or Firebase (building and maintaining the backend myself)
I am looking for an option that does not burn my wallet if the number of monthly users surges up and at the same time avoid paying the full price if there are very few monthly active users.
I am leaning towards AWS/Firebase as it fits my needs but would like to hear other people's opinions on this.

Cannot install "Mac App Store Validation" enabled .pkg file on MacOS

$
0
0
Unity version 2019.4.15f1 MacOS Catalina 10.15.2 Following documentation here: https://docs.unity3d.com/Manual/UnityIAPiOSMAS.html. At the bottom they have a section for Mac App Store. It says I must enable "Mac App Store validation", which I did I modified the Info.plist as required, ran all the codesign and productbuild commands with proper certificates, deleted the .app, and tried to install .pkg ![alt text][1] It installs, and shows in my Applications. But when launching, I get a popup to login to App Store ![alt text][2] The documentation says to use test iTunesConnect account. It's now call Appstore Connect, but yes, I created the test sandbox account and tried that. Tried deleting and creating new account. Doesn't work. When I use a test account, it complains of incorrect password (I verified 500% the password is correct, recreated the account multiple times, tried creating new test accounts many times, even waited 24 hours once). When I try to use my real Apple ID, it accepts it (no errors), but then displays this screen again. If I don't enable "Mac App Store Validation", this isn't a problem. But documentation says it must be enabled to test purchases. [1]: /storage/temp/177016-osx1.png [2]: /storage/temp/177020-osx3.png

unity IAP pending issue.

$
0
0
hi. my project use Unity version 2019.3.15, IAP version 2.2.7. processPurcharse funtion is not called when restart app after return PurchaseProcessingResult.Pending. finded MethodAccessException at logcat when UnityPurchasing.Initialize called after restart app. error code. 1614908252.844 9555-9555/? E/Unity: MethodAccessException: Method `UnityEngine.Purchasing.Product..ctor(UnityEngine.Purchasing.ProductDefinition,UnityEngine.Purchasing.ProductMetadata,string)' is inaccessible from method `UnityEngine.Purchasing.GoogleFetchPurchases.FillProductsWithPurchases(System.Collections.Generic.IEnumerable`1)' at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_throw_method_access(intptr,intptr) at UnityEngine.Purchasing.GoogleFetchPurchases.FillProductsWithPurchases (System.Collections.Generic.IEnumerable`1[T] purchases) [0x00073] in :0 at UnityEngine.Purchasing.GoogleFetchPurchases+<>c__DisplayClass6_0.b__0 (System.Collections.Generic.List`1[T] googlePurchases) [0x00001] in :0 at UnityEngine.Purchasing.GoogleQueryPurchasesService.HandleOnQueryPurchaseReceived (System.Action`1[T] onQueryPurchaseSucceed, System.Collections.Generic.List`1[T] googlePurchasesInSubs, System step is very simple 1. google login, IAP init. 2. item Purchase, ProcessPurchase funtion return PurchaseProcessingResult.Pending. 3. restart app after force quit app. 4. google login. 5. logcat error after called UnityPurchasing.Initialize. when state Pending, isn't it called ProcessPurchase after UnityPurchasing.Initialize?

can i use Unity IAP in kitkat?

$
0
0
hi I want to do Unity iap on Android KitKat, but the machine I'm testing is Galaxy S3. But everything else is normal, but if I attach Unity IAP, the app crashes on my S3. Looking at the logcat... ----- -------------------------------------------------------------------- ------ E/cutils ( 1960): Failed to mkdirat(/storage/extSdCard/Android): Read-only file system W/ContextImpl(19393): Failed to ensure directory: /storage/extSdCard/Android/data/xxx/cache W/Vold ( 1960): Returning OperationFailed - no handler for errno 30 I/SwappyCommon(19393): Swappy version 1.3 I/SwappyCommon(19393): SDK version = 19 E/SwappyCommon(19393): Error while getting method: getAppVsyncOffsetNanos E/Swappy (19393): SwappyCommon could not initialize correctly. E/Swappy (19393): Failed to initialize SwappyGL E/CRASH (19393): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** E/CRASH (19393): Version '2019.4.0f1 (0af376155913)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a' E/CRASH (19393): Build fingerprint: 'samsung/c1skt/c1skt:4.4.4/KTU84P/E210SKSUKOL2:user/release-keys' E/CRASH (19393): Revision: '14' E/CRASH (19393): ABI: 'arm' E/CRASH (19393): Timestamp: 2020-06-19 19:36:51+0900 E/CRASH (19393): pid: 19393, tid: 19415, name: UnityMain >>> xxx <<< E/CRASH (19393): uid: 10226 E/CRASH (19393): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 E/CRASH (19393): Cause: null pointer dereference E/CRASH (19393): r0 00000000 r1 00000000 r2 00000000 r3 45a3e6c8 E/CRASH (19393): r4 695106c0 r5 00000000 r6 64494304 r7 1d20042e E/CRASH (19393): r8 647de904 r9 647df240 r10 647df66c r11 647df67c E/CRASH (19393): ip 00000003 sp 647de868 lr 63f66ce5 pc 63f66cec E/CRASH (19393): E/CRASH (19393): backtrace: E/CRASH (19393): #00 pc 00713cec /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #01 pc 00708de9 /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #02 pc 0023eacb /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #03 pc 00253f6b /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #04 pc 0024891f /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #05 pc 00257479 /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #06 pc 00249d3d /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #07 pc 0024a761 /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #08 pc 002586b5 /data/app-lib/xxx/libunity.so (BuildId: 5a1907db1b2b879df33887a5f8bc93126c2f7027) E/CRASH (19393): #09 pc 0001ec0c /system/lib/libdvm.so (dvmPlatformInvoke+112) E/CRASH (19393): #10 pc 0004f1ab /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398) E/CRASH (19393): #11 pc 00028020 /system/lib/libdvm.so E/CRASH (19393): #12 pc 0002f004 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) E/CRASH (19393): #13 pc 0002c69c /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) E/CRASH (19393): #14 pc 00061611 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336) E/CRASH (19393): #15 pc 00061635 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20) E/CRASH (19393): #16 pc 0005630f /system/lib/libdvm.so E/CRASH (19393): #17 pc 0000d2a0 /system/lib/libc.so (__thread_entry+72) E/CRASH (19393): #18 pc 0000d438 /system/lib/libc.so (pthread_create+240) ----- -------------------------------------------------------------------- ------ When it tried to call "getAppVsyncOffsetNanos", it crashed. When I looked for this function, this function was added in Android SDK 21. https://developer.android.com/reference/android/view/Display#getAppVsyncOffsetNanos() I definitely set the minimum SDK level to 19 (kitkat) But it is calling SDK 21. I thought Unity was upgrading a version of the minimum sdk somewhere, so I looked up the documentation and found this in the IAP documentation. ----- -------------------------------------------------------------------- ------ ## [1.11.0] - 2017-05-01 ### Added - FacebookStore - Facebook Gameroom Payments Lite support. Available on Unity 5.6+ when building for Facebook Platform on Gameroom (Windows) and WebGL. Preliminary documentation is available [here](https://docs.google.com/document/d/1FaYwKvdnMHxkh47YVuXx9dMbc6ZtLX53mtgyAIn6WfU/) - Apple platforms - Added experimental support for setting "simulatesAskToBuyInSandbox". Please let us know how this impacts ask-to-buy testability for you. ```csharp extensions.GetExtension().simulateAskToBuy = true; ``` - Apple platforms - Added support for setting "applicationUsername" field which will be added to every payment request to help the store detect fraud. ```csharp // Set the applicationUsername to help Apple detect fraud extensions.GetExtension().SetApplicationUsername(hashedUsername); ``` ### Requirement - GooglePlay - "Android SDK API Level 24 (7.0)" (or higher) must now be installed. To upgrade, either perform the one-time step of setting the project's "Android Player Settings > Other Settings > Minimum API Level" to 24, building an APK, then resetting to the project's previous value. Or, run the `android` Android SDK Manager tool manually and install "Android 7.0 (API 24)". Addresses build error messages: "Unable to merge android manifests." and "Main manifest has \ but library uses targetSdkVersion='24'". Note the Minimum API Level support is unchanged; merely the installation of API 24 SDK is now required for Daydream VR. ### Fixed - GooglePlay Daydream VR - Uses decoration-free Activity for purchasing - GooglePlay - Avoids sporadic price serialization exception - Apple App Stores - Improve handling of the situation where an attempt to finish a transaction fails (if the user is signed out of the store and cancels the sign in dialog, for example). The Apple store implementation will now remember that the transaction should be finished, and attempt to call finishTransaction again if the transaction is retrieved from the queue again. When this happens, the store will call OnPurchaseFailed with the reason "DuplicateTransaction"—this prevents a situation where a call to InitiatePurchase could result in no call to ProcessPurchase or OnPurchaseFailed. - Amazon - Fix for a crash when loading product metadata for subscription parent products ----- -------------------------------------------------------------------- ------ According to the above article, when the IAP becomes version 1.11, the Android sdk API version should be 24 or higher. This is too high to be called the minimum version. Is this true? Even if it's true, I should be able to run my application on kitkat. what can i do?

How to update you Unity project to satisfy Google Play Billing Library 3 requirement?

$
0
0
Hi guys, I updated Unity purchasing package to 2.2.2 and and UDP is up-to-date. However, I'm still having warning notification when I upload my app bundle to Google Play console. ![alt text][1] Am I skipping anything here? [1]: /storage/temp/177317-googlewarning.jpg

Unity IAP Button: NullReferenceException: Object reference not set to an instance of an object

$
0
0
So I was using the IAP button as the tutorial showed me and the button won't work ingame only giving me this error: NullReferenceException: Object reference not set to an instance of an object UnityEngine.Purchasing.UIFakeStore.InstantiateDialog () (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Stores/FakeStore/UIFakeStore.cs:175) UnityEngine.Purchasing.UIFakeStore.StartUI (System.String queryText, System.String okayButtonText, System.String cancelButtonText, System.Collections.Generic.List`1[T] options, System.Action`2[T1,T2] callback) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Stores/FakeStore/UIFakeStore.cs:153) UnityEngine.Purchasing.UIFakeStore.StartUI[T] (System.Object model, UnityEngine.Purchasing.FakeStore+DialogType dialogType, System.Action`2[T1,T2] callback) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Stores/FakeStore/UIFakeStore.cs:128) UnityEngine.Purchasing.FakeStore.FakePurchase (UnityEngine.Purchasing.ProductDefinition product, System.String developerPayload) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Stores/FakeStore/FakeStore.cs:163) UnityEngine.Purchasing.FakeStore.Purchase (System.String productJSON, System.String developerPayload) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Stores/FakeStore/FakeStore.cs:132) UnityEngine.Purchasing.JSONStore.Purchase (UnityEngine.Purchasing.ProductDefinition product, System.String developerPayload) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Stores/BaseStore/JSONStore.cs:354) UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product, System.String developerPayload) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Purchasing/PurchasingManager.cs:60) UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (System.String purchasableId, System.String developerPayload) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Purchasing/PurchasingManager.cs:69) UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (System.String productId) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Purchasing/PurchasingManager.cs:43) UnityEngine.Purchasing.CodelessIAPStoreListener.InitiatePurchase (System.String productID) (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Codeless/CodelessIAPStoreListener.cs:145) UnityEngine.Purchasing.IAPButton.PurchaseProduct () (at Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Codeless/IAPButton.cs:108) UnityEngine.Events.InvokableCall.Invoke () (at :0) UnityEngine.Events.UnityEvent.Invoke () (at :0) UnityEngine.UI.Button.Press () (at C:/Program Files/Games/2020.1.5f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at C:/Program Files/Games/2020.1.5f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/Program Files/Games/2020.1.5f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at C:/Program Files/Games/2020.1.5f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261) UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Games/2020.1.5f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:376) I know the generic problem with NullReferenceException but I just don't understand this.

Getting trouble in migrating the Unity IAP old version to new version of IAP in existing project

$
0
0
Actually, I'm new to UNITY. In my existing project, the previous developer implemented the IAP feature in UNITY, but it is partially implemented. Now, I'm trying to implement the codeless IAP, when I'm trying to migrate from the old version to the new version of IAP I'm getting lots of errors. Even I'm deleting all the files related to the IAP of the previous version. Can anyone help to figure it out?

IAP function not calling

$
0
0
1st button/referrance is working remaining is not working ![alt text][1] [1]: /storage/temp/178016-iap-calling.png

error CS1029: #error: 'UnityFx.Purchasing requires Unity IAP service to be enabled.'

$
0
0
We are in the process of updating to 2020.3.1f1 from 2019.4.16f1. We get this error error CS1029: #error: 'UnityFx.Purchasing requires Unity IAP service to be enabled.' This happens only on our build machine. I fixed this issue one my local machine by enabling IAP in the build settings. When I open the project directly on the build machine (from the build folder) the I can confirm that Unity IAP plugin is installed. Platform is set to iOS in the Build Settings on both machines. ------------------------------------------------------------------------------------------- Assets/Scripts/BEK/Payment/Scripts/Startup.cs(10,8): error CS1029: #error: 'UnityFx.Purchasing requires Unity IAP service to be enabled.' Assets/Plugins/UnityPurchasing/script/PurchasingCheck.cs(2,10): warning CS1030: #warning: '"Unity IAP plugin is installed, but Unity IAP is not enabled. Please enable Unity IAP in the Services window."'

why my IAP button is not working

$
0
0
hi, I am using the codeless IAP button and category. but when I am testing it after submitting it to Internal testing on google play store it shows **"the item you requested is not available for purchase"**. Knowing that I used my **template ID** from the play store instead of setting the price in the category and the app is reading the price **correctly** but when I press the button it shows the message. thank you this photo shows that the value is read from the template correctly ![alt text][1] and this is the error photo ![alt text][2] [1]: /storage/temp/178920-20210408-095503.jpg [2]: /storage/temp/178922-screenshot-20210408-095300-google-play-store.jpg

IAP- Receipts.

$
0
0
Hi, My app recently got rejected from the iOS App Store as they were not provided a receipt upon making an in-app purchase. I added the code from ; https://docs.unity3d.com/ru/2019.4/Manual/UnityIAPValidatingReceipts.html Specifically the code from ProcessPurchase; and in the Obfuscator, I obfuscate the generated secret key from the users and access in apple store connect. Am I doing this the right way and does this generate the required receipt? Thanks.

my android Codless IAP is not working while testing on internal test upload

$
0
0
hi, i used the codless iap to make a buy button and added my price template id in the product category... Everything worked fine with no errors displayed in the editor... so i uploaded it to internal test... it even shows me the price on the button according to my location when i installed it from testers link from playstore. but when i try to click the button it shows that the product is not available
Viewing all 595 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>