Skip to content

A collection of prefabs, scripts, and assets that can be dragged and dropped into Unity for the Oculus Quest. Requires the Oculus Implementations package from the Oculus Store, but makes various aspects about using it easier.

Notifications You must be signed in to change notification settings

Chapmania/EasierVRAssets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasierVRAssets

Hello. My name is Ryan, and this is a guide for the "EasierVRAssets" package. As the developer of this package, I feel that it is strongly within my responsibility to explain what this package is and how to use it.

The "EasierVRAssets" package is a set of scripts and prefabs intended to make life a little easier for developers working with the Oculus Quest in Unity. While working with VR for school projects, I sometimes found that the "Oculus Implementations" package available in the Unity Asset Store was very cumbersome to use and often had bugs in their code. I wanted to create a VR toolkit that would be simpler to use and more efficient in terms of workload on the developer.

In order to get this package working, you need to do several things prior:

  1. Make sure that on whatever version of Unity you are working with, that you have the Android DevTools installed in Unity.
  2. You must have the “Oculus Implementations” installed in your Unity project. The Oculus package is still required, as many scripts in "EasierVRAssets" still utilize aspects of the code from the "Oculus Implementations" package.

Setting up your Unity Project

In order to get this project to work, you must install the "Oculus Implementations" first, then adjust the settings of your Unity project to output properly for the Oculus.

To install the "Oculus Implementations" package, just follow these instructions:

  1. Navigate to the Unity Asset Store in Unity
  2. Search for "Oculus" – you will most likely see the "Oculus Implementations" package as the first item that appears.
  3. Click Import – it will take some time to install into your Unity project.

You must also ensure that the settings behind Unity are optimized for use of the Oculus scripts.

  1. Open your Build Settings (File > Build Settings), and then ensure that you are outputting your projects for Android (Platform > Android).
  2. Open "Player Settings" and navigate to "Player" (Player Settings > Player)
  3. Inside "XR Settings", in "Virtual Reality SDKs", click the + button and add the "Oculus" package if you haven’t already.
  4. Inside "Other Settings", do the following:
    1. Delete Vulkan from "Graphic APIs" – this is no longer needed
    2. Set "Minimum API Level" to Android 4.4 "Kitkat"
  5. Still within "Player Settings", navigate to "Time" on the left side. Then, set the "Fixed Timestep" value to 1/90 or 0.01111 – this speeds up your game by a significant amount

To install the "EasierVRAssets" package, simply clone this repo into your local computer, and then add the package to your Unity Project. Unity should automatically import all scripts and assets onto the computer from here.

Contents

The contents of the "EasierVRAssets" consist of the following:

  • EasierVRAssets/
    • README.md - this file
    • ChangeLog.md - Contains the list of changes made to this package
    • CustomGrab/
      • README.md – A summary of the CustomGrab subpackage
      • Materials/ – The materials utilized by this package
      • Prefabs/ – prefabs created for easier usage in Unity
      • SampleScenes/ – samples of scenes that showcase example uses of the scripts and prefabs in this subpackage
      • Scripts/ – the collection of scripts used in this subpackage
    • VRKeyboard/ - UPCOMING SOON

For more information on how to utilize these subpackages, please read their respective README.md files. Each subpackage in this repo contains a README file that explains the nuances of each subpackage, including how they work and what public variables are most important when integrating these packages and prefabs into your own project.

Happy hunting! - Ryan Kim

About

A collection of prefabs, scripts, and assets that can be dragged and dropped into Unity for the Oculus Quest. Requires the Oculus Implementations package from the Oculus Store, but makes various aspects about using it easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 93.8%
  • ShaderLab 4.2%
  • JavaScript 1.6%
  • HLSL 0.4%