Setup Your VR Mobile Environment

Bashayr Alabdullah
2 min readJan 12, 2020

All you need is Unity game engine and Android device.

If the Android Build Support component didn’t select during installation, go to unity hub > installs > click on three dots menu > add modules > select Android Build Support

install Android Build Support

Import Google VR package

Open Unity engine, then download the latest version of GoogleVRForUnity_*.unitypackage from here.

Once the package is downloaded, click on it and it will be opened on Unity, if not go to Assets > Import Package > Custom Package > select the package from your directory you downloaded in.

Click on Import button. “for high performance you can uncheck the demos folders”.

Configure settings

File > Build Settings

Choose Android and click Switch Platform, then click on Player Settings.

Go to XR setting, enable Virtual Reality Support > press on + select Cardboard.

select > Other Settings > choose Minimum API Level (support API level 19) or higher.

To test the environment, Enable Developer options in your mobile then back to File > Add Open Scene > build and run

don’t forget to connect your mobile with computer through USB!

Next post we will build a simple VR game!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Bashayr Alabdullah
Bashayr Alabdullah

Written by Bashayr Alabdullah

Salam, I'm Tech Engineer 🚀. I blend technology insights, inspiration, and fun in my feed. #innovation #discovery 🥑🎶🎯🌻 *my personal -own- thoughts*

No responses yet

Write a response