Unity is a cross platform game engine. But how come it is so difficult to exclude some folders from a certain target?
For example:
I want the Oculus SDK in the Android Target (for Oculus Quest), but perhaps not when I’m building another scene from that project to iOS or WebGL…
[Should I create a custom build pipeline that excludes folders by adding a tide to the folder name before building, and then removing after building]( Excluding folders from build page-2#post-6046250)? That seems hacky.
Or should I compile my scenes that target different targets, into asset bundles that get built into the final solution? Seems hacky for such an important thing