Skip to main content
Participant
April 4, 2015

Disable Health and Safety Warning Mac OSX

Ok, I am so sick of searching around for how to disable the health and safety warning on Mac OSX. I know your supposed to modify an environment variable and then that exposes the option in the oculus config util. But I have no idea how to set an environment variable in OSX. Someone please post a step by step on how to do this once and for all! Thanks.

    6 replies

    Inspiring
    April 4, 2015
    I don't actually use OSX, but I did a quick Google search and came up with this:

    http://www.schrodinger.com/kb/1842
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    edwonAuthor
    Participant
    April 4, 2015
    Ok I FINALLY figured this out. It's actually quite simple, but if you copy and paste this is into terminal it will replace underscores with spaces, messing it up.

    On Mac

    1. open Terminal
    2. type in this command exactly as written (make sure underscores are there) and hit enter (this sets an environment variable which brings up the "disable health and safety warning" option in OculusConfigUtil)

    launchctl setenv Oculus_LibOVR_HSWToggleEnabled 1

    3. to make sure it worked type in this exactly as written and hit enter

    launchctl getenv Oculus_LibOVR_HSWToggleEnabled

    4. it should return as 1, if it doesn't you didn't type it in correctly, remember the underscores which are erased when copy pasting!

    5. Open OculusConfigUtil

    6. Press the "Advanced" button

    7. Check the "Disable Health and Safety Warning" option

    8. You are now free of the most annoying warning ever made!
    Inspiring
    April 5, 2015
    Thanks for posting the solution.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    April 22, 2015
    I don't have the DK2, just the Gear VR mobile SDK. When I launch the Rift Config Util, I can't press the Advanced button because there's no device connected. Is there any way to turn off the health and safety warning within Unity previews?

    I'm using 0.4.3.1 mobile sdk, Unity 4.6.4f1
    Participant
    April 13, 2017
    Thansk you very much Edwon
    Participant
    August 22, 2017
    Thank you so much, I love you.