I’m using Oculus package from package manager. When build for Android smartphone, I want to disable Oculus package, and enable it only when build for Oculus.
But now when I build for Android smartphone, libOculusXRPlugin.so is still included in apk. How to prevent it from inclusion? using IFilterBuildAssemblies doesn’t solve the problem. The so file is still included.
Previously when everythings are assets in project, I can simply rename it by adding “~” at the end of folder name to exclude it. But now it won’t work anymore because it’s in package manager.
Hey there after speaking to the team they mentioned that you could embed the package, and temporarily ~-suffix its content. The workaround you are mentioning is adding “~” at the end of folder would work, but they need to embed the package first.
I’m interested in this issue as well. There should be a project setting that allow us to specify which package will be used for which platform. And we don’t really want to use embedded packages, it will just enlarge the size of the main repo which is fairly big right now.
I came across this thread because I wanted to use Unity Analytics only on a specific Platform.
I’m hoping to be able to install the Package by specifying the Platform.