needle-mirror / com.unity.purchasing

[Mirrored from UPM, not affiliated with Unity Technologies.] 📦 IMPORTANT UPGRADE NOTES:If updating from Unity IAP (com.unity.purchasing + the Asset Store plugin) versions 2.x to version 3.x, complete the following actions in order to resolve compilation errors: 1. Move IAPProductCatalog.json and BillingMode.jsonFROM: Assets/Plugins/UnityPurchasing/Resources/TO: Assets/Resources/. 2. Move AppleTangle.cs and GooglePlayTangle.csFROM: Assets/Plugins/UnityPurchasing/generatedTO: Assets/Scripts/UnityPurchasing/generated. 3. Remove all remaining Asset Store plugin folders and files in Assets/Plugins/UnityPurchasing from your project.PACKAGE DESCRIPTION:With Unity IAP, setting up in-app purchases for your game across multiple app stores has never been easier.This package provides: ▪ One common API to access all stores for free so you can fully understand and optimize your in-game economy ▪ Automatic coupling with Unity Analytics to enable monitoring and decision-making based on trends in your revenue and purchase data across multiple platforms ▪ Support for iOS, Mac, tvOS, Google Play, Windows, and Amazon app stores(*). ▪ Support to work with the Unity Distribution Portal to synchronize catalogs and transactions with other app stores ▪ Client-side receipt validation for Apple App Store and Google PlayAfter installing this package, open the Services Window to enable In-App Purchasing to use these features.
https://docs.unity3d.com/Packages/com.unity.purchasing@4.9/manual/index.html
Other
30 stars 8 forks source link

unity ver 2022.3.20f1 update IAP 4.12 error #5

Open TuanDevGP opened 3 months ago

TuanDevGP commented 3 months ago

Library\PackageCache\com.unity.purchasing@13874ffaf9\Runtime\Purchasing\Telemetry\Diagnostics\TelemetryDiagnostics.cs(9,37): error CS0246: The type or namespace name 'ITelemetryDiagnosticsInstanceWrapper' could not be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.unity.purchasing@13874ffaf9\Runtime\Purchasing\Analytics\Legacy\LegacyAnalyticsWrapper.cs(5,55): error CS0246: The type or namespace name 'ICoreServicesEnvironmentObserver' could not be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.unity.purchasing@13874ffaf9\Runtime\Purchasing\CoreServices\Environment\CoreServicesEnvironmentSubject.cs(27,53): error CS0246: The type or namespace name 'ICoreServicesEnvironmentObserver' could not be found (are you missing a using directive or an assembly reference?) ![Uploading photo_2024-06-07_11-06-58.jpg…]()

kaikristo commented 1 month ago

Try to completely reinstall iap + reconnect to services.