Guides

Disabling the Health & Safety Warning on the Oculus Rift DK2

About the Health & Safety Warning

Win_OculusUnityDemoScene 2015-04-30 11-39-18-664

The Health & Safety Warning appears in every Oculus Rift application, every time you start it, and has done so since SDK version 0.4.0, the first version with full DK2 support. As of SDK version 0.4.3, it reads:

HEALTH & SAFETY WARNING

Read and follow all warnings and instructions included with the Headset before use. Headset should be calibrated for each user. Not for use by children under 13. Stop use if you experience any discomfort or health reactions.

More: www.oculus.com/warnings

Press any key to acknowledge

This warning helps stop users from doing dumb things and shields Oculus from legal liability. It is a good idea for anyone using your headset to read and understand it. Once. You really don’t need to keep seeing it every time you launch an app, especially if you’re a developer who is launching tests on a frequent basis.

It’s made all the more annoying by the fact that it contradicts Oculus’s own Best Practices Guide:

Oculus discourages the use of traditional HUDs. Instead, we encourage developers to embed that information into the environment itself.

On top of that, it says you can press a key to dismiss it, but it also has a minimum time before it—

Win_OculusUnityDemoScene 2015-04-30 11-39-18-664.2

—okay, that’s it, time for you to die.

Disabling the warning

Note: this guide is up-to-date as of the Oculus SDK and Runtime version 0.5.0.1 beta. It may also work with later versions.

In version 0.4.3 of the SDK, Oculus blissfully added an option to disable the Health & Safety Warning, intended for use during active development. It’s documented in the Oculus Developer Guide. To activate it, follow the steps below.

64-bit Windows

Method 1 (reg file method):

  1. Download and extract this ZIP file. If Chrome gives you a warning, press CTRL+J to bring up your Downloads window and click either “Keep” or “Recover malicious file”. (Alternate download links: Dropbox, Seedbox)8e71cc91ad8304b1126b9dffe75e09b1[1]
  2. Execute the .reg file. Click Yes to confirm.
  3. Double click the Oculus icon in your tray to open Oculus Config Util, then click “Advanced”.
  4. 9509e6c03f67242093f40e7ee479d28f[1]Check “Disable Health and Safety Warning”. Click “I Agree”. Click Close. Click Close.

Method 2 (no download required): (adapted from this post)

  1. Click Start button (or press WINDOWS key), type “cmd”, right click “Command Prompt” and choose “Run as administrator”. Click “Yes”.
  2. Copy this command to your clipboard:
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Oculus VR, LLC\LibOVR" /v "HSWToggleEnabled" /t REG_SZ /d 1registry_screenshot
  3. Right click on the Command Prompt window and do Edit→Paste. Hit ENTER.
  4. Go to step 3 of Method 1 above.

32-bit WINDOWS

On 32-bit Windows the steps are the same as above except the ZIP file download in Method 1 is different:

Download links: MegaDropbox, Seedbox

And the command-line in Method 2 is different:

REG ADD "HKEY_LOCAL_MACHINE\Software\Oculus VR, LLC\LibOVR" /v "HSWToggleEnabled" /t REG_SZ /d 1

This is untested. Please let me know in the comments below if it works for you.

Linux, OS X

I don’t know at this time whether a similar option exists for Linux or OS X. The Developer Guide does not document any such option as far as I can tell. If you discover a way that works, please let me know in the comments below and I’ll update this post.

Notes

This a global setting in the Oculus Runtime; therefore any change to the option in the Oculus Configuration Utility should immediately take effect in all apps and in other locations like the Unity editor. It should not affect your application builds or prevent your app from qualifying for Oculus Share or for VR jams.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s