Skip to main content
Up and Coming
January 23, 2016

Can we get a better Unity tutorial?

The tutorial listed under "Tutorial: Build a Simple VR Unity Game" has some problems. There are 3 things I consider "errors" in the current tutorial.

  • Pre step 1 it should tell you to import "OculusUtilities.unitypackage"

  • In Step 2 references OVRCameraRig but we never were told to replace the camera with a OVRCameraRig, that likely should be pre step 1 too.

  • In Step 3 it says
    Select Player in the Hierarchy view and change the Speed value in the Player Controller (Script) tab of the Inspector view from 500 to 800.
    In the tutorial the speed value is 10 not 500. Also, honestly leaving it at 10 was a good speed for the ball (I was using a Steel Series XL controller on android).

Also, I think this tutorial would be a good opportunity to teach the user how to make UI elements. Taking the things taught in the blog article "Unity’s UI System in VR" to teach the user how to make a gaze locked "You Win" message and how to make the score a non gaze locked floating text.

The tutorial should also mention OVRPlatformMenu for GearVR users to get things like back button functionality working.

Lastly, not directly related to the tutorial, but in the "Utilities for Unity 5.x Developer Guide" section "Best Practices: Mobile" it says
Note: The Unity Profiler is not available for Unity Free.
This is not true, in Unity 5 the profiler is included in the free "Personal Edition".
    This topic has been closed for replies.

    14 replies

    Up and Coming
    February 3, 2016
    I really appreciate the suggestions here and will keep an eye on this thread as we continue to develop our documentation roadmap.

    A few notes on the initial post that got the ball rolling here, no pun intended. You don't actually need to import the Utilities for this game to work in VR - all the functionality you need is baked into Unity, and is applied when you enable VR support in Player Settings. You likewise don't need to use OVRCameraRig, so I'll update the reference to OVRCameraRig that mistakenly appears in step 2.

    With respect to the speed setting, it looks like Unity changed the Rollaball tutorial sometime recently and modified how they handle the player movement, so we'll need to update that.

    Thanks again, and please do keep giving any thoughts, opinions, screeds, polemics, or haiku you have on our docs - we aim to please.
    Inspiring
    February 3, 2016
    "zenshin" wrote:
    A few notes on the initial post that got the ball rolling here, no pun intended. You don't actually need to import the Utilities for this game to work in VR


    But without OVRManager, an app/game can not be published in the Oculus Store, correct ?
    leftlerAuthor
    Up and Coming
    February 3, 2016
    "zenshin" wrote:
    Thanks again, and please do keep giving any thoughts, opinions, screeds, polemics, or haiku you have on our docs - we aim to please.
    We learn from doing,
    Hands on examples are best!
    Keep up the good work.
    Up and Coming
    February 9, 2016
    whatyoudidthere.png