0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

How to make a VR game without having a VR device 【Set up】

Last updated at Posted at 2021-02-06

When I starting to make a VR game, it's pretty expensive to having a VR device.
So I found a solution on GitHub: https://github.com/ViveSoftware/ViveInputUtility-Unity
#My PC spec
Lenovo IdeaPad 310
CPU:i5-7200U
RAM:4G+8G
GPU:GeForce 920MX 2G
*Higher recommend to add your RAM up to 12G, make sure Unity can run smoothly.

#Install Unity
To install Unity, first you need to install Unity hub:
https://unity3d.com/get-unity/download
image.png
After you install, it will tell you to set up your License
image.png
Click the setting button.
image.png
Turn to [License Management]
I use the student license here, but I will teach you how to set up a personal license, it work pretty well too.
image.png
Click [Activate New License]
image.png
Use the personal license, and [Done].

After that we can start install Unity engine.
Go to Unity 2019.2 website: https://unity3d.com/unity/whats-new/2019.2.10
image.png
Download the version of your system version, and install it.
image.png
You can see the install version on Unity hub, if you install successfully.

#Plug in VR model
Go to GitHub: https://github.com/ViveSoftware/ViveInputUtility-Unity
image.png
image.png
Download all the file, and unzip it in other folder.
image.png
Create a new project on unity hub.
image.png
Choose the version we just install.
image.png
Choose [3D] and change the project name and location as you want.
*Remember the location! We need to change the file inside later.
image.png
Hit [Create].
After you create, it will open Unity automatically.
image.png
Copy and past everything from [ViveInputUtility-Unity-develop](the GitHub folder) to the project file.
image.png
Hit Replace all the file if the system ask.
image.png
Your project folder will be like this after you past it.
It will run few second when you open the Unity screen.
image.png
Click [Reload].
image.png
Click [Accept All]
image.png
There will pop up some error, we will fix it later.
image.png
Click [Edit] and [Project setting]
image.png
Turn to [Player]
image.png
Open [Virtual Reality Supported]
It will run for few minute.
image.png
Click[Accept All] again.
image.png
Click [Edit] and [Preferences...]
image.png
Turn to [VUI setting]
image.png
Open [Simulator]

#Install Steam VR(I forget it... Sor...)
image.png
Download & install Steam: https://store.steampowered.com/about/
image.png
Search [steam VR] and install it.
image.png
It will run for few minute.
image.png
Open it when you open the project.
#Back to Plug in VR model
image.png
image.png
Open the folder to [Assest>HTimage.png
C.UnityPlugin>ViveInputUnity>Prefabs]
Pull the [ViveCameraRig] model and [ViveCollider] model into Scene
image.png
Delete the [MainCamera] model in Scene.
image.png
Than VIVE VR plug in without VR device is success!!
Now you can control the VR device by mouse and keyboard!

#Tip
1.Keep steam VR open when you start the project.
2.Check the other camera model only pop on display, not on the same display with the ViveCameraRig.
image.png
3.Have fun~~

0
0
7

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?