Search Unity

Feedback Platform dependent package dependencies

Discussion in 'Package Manager' started by DrummerB, Feb 15, 2020.

  1. DrummerB

    DrummerB

    Joined:
    Dec 19, 2013
    Posts:
    135
    It would be nice to be able to include certain packages only when targeting specific platforms. For libraries and assembly definitions in the project you can already decide which platforms to include or exclude. The same would be helpful for packages as well.

    For instance, with 2019.3 it seems to be impossible to set up a project to support Lumin and OpenVR builds. OpenVR requires legacy VR, while Lumin requires the new XR Management package. You can work around this using the Package Manager API to change included packages based in the target platform, but it would be simpler to be able to define platforms for each package.
     
    UpstreamJon and MilenaRocha like this.
  2. AskCarol

    AskCarol

    Joined:
    Nov 12, 2019
    Posts:
    234
    Thanks for the feedback! Will pass it along :)