Run Unity Game On Mac

If you've been eying the latest trends in game development you couldn't possibly miss the recent hype (deserved in my opinion) around VR and AR applications. We've also spoken at length about installing and running an HTC Vive VR headset on your Mac running macOS High Sierra.

With an eGPU development kit offered by Apple or with the newest iMac Pro running a powerful AMD Radeon Vega GPU, you can create and then run VR applications directly on a connected HTC Vive VR headset. Here's part 1 of our 2 part series on how to create and run a simple VR application on macOS and HTC Vive! Check out part 2 here!

You can’t do it in a PC, and the reason is you need Xcode to compile a working build, and you need a valid apple development certificate for your Mac. Unity can’t get you a directly working build, Apple wants everything to be compiled with their I.

This tutorial was written following the video tutorial provided by VRGameDev on Youtube so be certain to check out their channel!

Install Unity Engine

If you haven'y already done so, you'll need to install a VR ready development engine such as Unity. Unity Engine Personal Edition is free for your personal use and tutorial purposes. Once you become more proficient and start selling your VR applications, you can then get one of Unity's commercial licenses. You can [follow our guide to install Unity](/how-install-unity-engine-macos-vr-application-creation} if you need help, or follow the following summary.

  1. Navigate with a browser to https://unity.com/.
  2. Click on Get Unity.
  3. Click on Try Personal.
  4. Check the box to agree to the Terms of Service.
  5. Click Download Installer.
  6. Double click the UnityDownloadAssistant dmg file you just downloaded.
  7. Double click the Unity DownloadAssistant** icon.
  8. Click Continue.
  9. Click Continue again.
  10. Select the Components you wish to Install. This can be left as default.
  11. Click Continue.
  12. Select the installation Destination.
  13. Click Continue.
  14. Once the installation is complete click Close.

How to start a new project

Once installed we're ready to get down to business and start and name a new project.

  1. Click New project.
  2. Enter a Project name
  3. Make certain that the project is set to 3D.
  4. Enter a save Location..
  5. Click Create project.

Run

You should now have an empty project 3D project ready to go!

How to start building the VR application

Make the floor

Unity Mac Crack

  1. Select File > Build Settings.
  2. Click Player Settings.
  3. Check XR Settings to be Virtual Reality Supported.

  4. Click the Oculus Virtual Reality SDK.
  5. With Oculus highlighted click the - to remove it (It's not needed as OpenVR works on all VR platforms).

  6. Select File > Save Scene as.
  7. Enter a Save As name for the scene.
  8. Click Save. A New Icon will appear with the name of your scene.
  9. Under Hierarchy, click Create > 3D object > Plane.
  10. Click on the Plane we just created.
  11. Under Transform, change the scale of your plane to X=1000, Y=1, Z=1000.

  12. Under the Project menu, click Create > Material.
  13. You'll see a sphere appear in the assets. Rename that to Floor.

  14. Click on the square next to Albedo and select a color such as green to represent the floor in your VR app.
  15. Once again select Plane and rename it to floor.

  16. Drag the asset Floor onto the hierarchy Floor to make it the color you selected.
  17. The floor of your VR world in now green.

Game

Make the interactive object

It's great to have a VR world to stand in but it's better to have object to interact with. Here we'll be creating a simple cube that we can manipulate in the VR world.

  1. Under Hierarchy again, select Create > 3D object > Cube.
  2. Select Cube.
  3. Under Transform, change the scale to X=0.2, Y=0.2, and Z=0.2.
  4. Set the position under transform to X=0, Y=0.1, and Z=0.

  5. Under the Project menu, click Create > Material.
  6. Rename the material to Cube.
  7. Click on the square next to Albedo and select a color such as red to color the cube in your VR app.
  8. Select Cube in the assets and drag it to Cube under Hierarchy.
  9. The interactive cube is now red.

Stay Tuned

To make things more digestible we'll be posting how to create hands, apply interaction on objects, and finally build and run your VR application on macOS using the HTC vive on a subsequent how-to so keep an eye out! Let us know how you've fared thus far in the comments!

(PRODUCT)RED

Run Unity Game On Mac Free

Apple is now redirecting (PRODUCT)RED purchases to COVID‑19 relief fund

Run Unity Game On Mac Download

Now through September 30, Apple is redirecting 100% of a portion of (PRODUCT)RED purchases to the Global Fund’s COVID‑19 Response.