Hello! I’m doing a game for VisionOS using Unity and I’m trying to using RevenueCat, but without success. I’ve followed the guides and everything seems to be properly setup.
However, when I run the game I get no logs (or errors) from RevenueCat whatsoever. I have the logLevel set to verbose.
Calling any method on the Purchases behavior simply does nothing. I suspect it’s because the Purchases class has the following code:
private void Start()
{
#if UNITY_ANDROID && !UNITY_EDITOR
_wrapper = new PurchasesWrapperAndroid();
#elif UNITY_IPHONE && !UNITY_EDITOR
_wrapper = new PurchasesWrapperiOS();
#else
_wrapper = new PurchasesWrapperNoop();
#endif
if (!string.IsNullOrEmpty(proxyURL))
{
_wrapper.SetProxyURL(proxyURL);
}
if (useRuntimeSetup) return;
Configure(string.IsNullOrEmpty(appUserID) ? null : appUserID);
GetProducts(productIdentifiers, null);
}
I’ve tried to manually change the files but then I get thrown into a pile of build errors on Xcode…
Does anyone have any hints? Is RevenueCat SDK for Unity supposed to work with VisionOS builds?