Forum Discussion
victoryvr
4 years agoExplorer
IAP GetProductList returning null?
Hey community, So I followed a couple tutorials to make sure I was setting this up right. However, everytime I try to grab the GetProductList it seems to be a null reference "NullReferenceException:...
Jepplen
3 years agoExpert Protege
Hi, I'm having the exact same problem and using the exact same code.
Did you ever find any solution to it?
- Jepplen3 years agoExpert Protege
Ok so i got it to work for me.
I was missing the Oculus EntitlementCheck.cs in my scene.
Also don't forget to add your AppId as a string argument like this:Oculus.Platform.Core.Initialize("<your app id here>");There might be a way to add it via Unity inspector somewhere, I read some hints about that, but I don't know.
Super confusing because in some docs I read that the EntitleMentCheck is not needed for AppLab, but I guess that doesn't apply for IAP requests.
Well, hope this helps someone else's headache.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago