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.”’