简体   繁体   中英

Develop hololens in unity with macbook

I'm new with unity and hololens and I started to explore it. I have a macbook (I don't know if it is a problem).

I downloaded Unity with all the components (Vuforia, IL2CPP etc.).

When I change project settings for the hololens development I have some problems. In particular when I check the box "Virtual Reality Supported" I don't find in the list below the Hololens option. Also if I click on "+" button. I see: Vuforia, Oculus, OpenVr but not Hololens!

Furthermore also in the field: "scripting backend" i found only "none" and "IL2CPP". Now, as I already say, i have downloaded all the components during the installation process. Which is the problem?

You have to download the correct tools for Hololens development, here is the link:

https://docs.microsoft.com/en-us/windows/mixed-reality/install-the-tools

Because Hololens runs on UWP, you need Windows. This is because the windows development libraries do not run on mac (or any Unix).

Your only option is to use something like boot camp to install windows 10 on your Mac (fast and works very well), or run a VM (a lot slower, but can be convenient if you develop on the mac and only build in the VM).

Everything should work fine with the exception of the hololens emulator, which does not work on every MacBook hardware.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM