The following code snippet returns False when you press x with the Virtual Reality option :
public class ToggleXR : MonoBehaviour
{
private void Update()
{
if ( Input.GetKeyDown(KeyCode.X) )
{
XRSettings.enabled = !XRSettings.enabled;
Debug.Log("XRSettings: " + XRSettings.enabled);
}
}
}
Does anyone have a solution for the latest stable releases of Oculus 1.18.1 and Unity 2017.2 that do not allow VR mode?
The oculus was silent about this, so I wonder if everyone who works with these last two versions has the same problem, or is it just me? Am I missing something that I have to download and import into Unity further to check the XR Settings parameter ?
Unity 2017.2.0f3, VR XR, :
Assets/OVR/Plugins/1.18.1/OSXUniversal/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, : dlopen (Assets/OVR/Plugins/1.18.1/OSXUniversal/OVRPlugin.bundle//MacOS/OVRPlugin, 2): : @rpath/LibOVRRT_0.framework//5/LibOVRRT_0
:/Users/OculusUnityProject/Assets/OVR/Plugins/1.18.1/OSXUniversal/OVRPlugin.bundle/Contents/MacOS/OVRPlugin
:
Oculus .
( Asset Store) Oculus ( 1.18.1), .
Unity-VR?