Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Is there a way to have two profiles for Unity for Windows Store?

I'd like to maintain one code base for my PC Windows Store hTc Vive and PC Windows Store HoloLens and then be able to have the code recognize which is which to set quality to fastest for HoloLens and to Fantastic for Vive (or maybe even dependent on the target device). Is there no way to do this yet? Do I have to make two of the Windows Store builds? Perhaps go through the effort to copy my entire project and use two settings. Might be able to just push the changes from the content source using Git?

Answers

  • Options
    stepan_stulovstepan_stulov ✭✭✭
    edited April 2017

    You might be able to achieve this with Scripting Define Symbols for branching under the same build platform and setting the quality accordingly at runtime via QualitySettings.SetQualityLevel( ).

    Additionally Unity has announced somewhere some time ago they were working on custom build targets to avoid this jungle of #ifs. But it's not there yet to my knowledge.

    Building the future of holographic navigation. We're hiring.

Sign In or Register to comment.