Develop hololens in unity with macbook

雨燕双飞 提交于 2021-02-10 15:28:29

问题


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?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/52595762/develop-hololens-in-unity-with-macbook

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!