UnityIAP requiring the VR module in WebGL builds

Hi,

I’m building our project for WebGL, and using the build report site (Build Report) to get an idea of what’s in it.

We’re not currently supporting IAPs on web (does UnityIAP even do this?), but when I build with the UnityPurchasing module included, it seems to draw in the VR module, which in turn seems to draw in the Physics module (we use Physics2D, not Physics):

Building without UnityIAP (just deleting the UnityPurchasing folder, as I couldn’t find a way to actually disable it), won’t bring in VR:

I think it’s related to this update:

" ## [1.9.0] - 2016-10-31

  • [Beta] Google Play - Support for Daydream VR. Requires Unity 5.4+ “GVR” Technical Preview, enabling VR, and including the Daydream SDK. Additional details here."

When you import Unity IAP, make sure you choose to Update API when prompted. It should not be requiring VR.