I'm working on a multiplatform game (WebGL and mobile), that will feature an AR feature in the mobile version. But I've been having trouble building the WebGL version without completely removing the AR Foundation package and all references. When I open the AR Foundation example project and attempt to create a WebGL build, I get the following compiler error: Code (CSharp): Library\PackageCache\firstname.lastname@example.org\Runtime\AR\ARSessionOrigin.cs(3,19): error CS0234: The type or namespace name 'SpatialTracking' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?) As far as I can tell, Unity doesn't have any way to exclude packages on a platform-dependent basis, or I would simply exclude the entire AR package from my buildsdefinition. I don't actually need any of the AR Foundation features, I simply need it to stop throwing errors when I build for WebGL so I don't have to maintain 2 completely separate projects, or uninstall/reinstall the package every time I switch platforms. Is there any work-around for this, or is this going to be fixed in an upcoming version? Thanks.