Getting rid of health and safety warning
What is the proper way to get rid of the health and safety warning in Unity?
In OVRDevice.cs, I tired commenting out this:
and adding this to the end of Awake():
But that only works in the Editor but in the standalone version the head tracking stops working and the warning is not removed.
In OVRDevice.cs, I tired commenting out this:
if (HMD != null && Input.anyKeyDown && HMD.GetHSWDisplayState().Displayed)
HMD.DismissHSWDisplay();
and adding this to the end of Awake():
HMD.DismissHSWDisplay();
But that only works in the Editor but in the standalone version the head tracking stops working and the warning is not removed.
