Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

How to build a VS2017 C# project for UWP from the Unity2017.2.0b2

Hi

I am a beginner to build up a self-made HoloLens app.
The setting in my computer did not alow me to build a VS 2017 project in the Unity environment, as the figure below shown.

  1. Both of the check box of Unity C# project and the bottom of Build was not enabled.
  2. In addition, the error of Currently selected scripteing backend (IL2CPP) is not installed also really confused me. Because I cannot figure out what thing has not been installed, and I can go where to find it. And then how to fix it.

Hope that I can get some helps or suggestions.
Thank you very much.


********__****

Answers

  • @psytgm the unity dev tools for MR/HoloLens are in flux right now. The 2017.2.x tools are best for immersive MR. If you are building HoloLens apps, however, your best choice is the older 2017.1.0p5 (which is a patch build https://unity3d.com/unity/qa/patch-releases?page=2 ). That's the latest version I can confirm will do what you need.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • Thanks, I turned to used the version of Unity HoloLens 5.4.0f1-HTP (64-bit) to build a VS2017 C# project, even though it was the Window Store was supported instead of the UWP. At least so far, a .sln file (VS2017) can be built derived with the version of Unity HoloLens 5.4.0f1-HTP (64-bit). Therefore, I maybe take this feasible solution temporaily, before a more complet support come.

    Have a nice day !

  • @psytgm
    From the screen shot it looks like you have not chosen the scripting backend while installing Unity.
    To fix this go to your
    Option 1: Editor>Install.Exe and restart the installation. when you get the insallation window choose just Windows Scripting Backend (IL2CPP). Install Unity.
    Option 2 : Editor>UnInstall.Exe . This will uninstall Unity. Resinstall Unity and ensure you select Windows Scripting Backend (IL2CPP).

    Hope this helps.

  • @psytgm
    Sorry I missed this line in the earlier post.
    To fix this go to your It is usually under C:\Program Files\Unity2017.x.x.x\Editor

  • thanks @Karthik & @james_ashley, I also found that the VS2017 C# project can also be build when the project settings -> player -> Configuration -> Scripting Backend -> .NET (rather than IL2CPP) in Unity was chosen. And then the checkbox of Unity C# project and the bottom of Build will be enabled. Anyway, It's so great to discuss with both of you.

  • @james_ashley said:
    @psytgm the unity dev tools for MR/HoloLens are in flux right now. The 2017.2.x tools are best for immersive MR. If you are building HoloLens apps, however, your best choice is the older 2017.1.0p5 (which is a patch build https://unity3d.com/unity/qa/patch-releases?page=2 ). That's the latest version I can confirm will do what you need.

    I want to do some research on the hololens, but I will use the Vuforia sdk, and the Vuforia website has no information about the old sdk, and they recommand the newest version, meanwhile the newest Vuforia is delivered with the Unity 2017.2.x Editor. Should I install the 2017.2.x version or the 2017.1.x version ?

  • james_ashleyjames_ashley ✭✭✭✭

    @hhhouwt,

    For Vuforia, you'll need 2017.2.x.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

Sign In or Register to comment.