Forum Discussion
learnwithus
7 years agoHonored Guest
OVRHeadsetEmulator doesn't move the view in the Game panel
Hello, I would like to be able to emulate the headset while developing in Unity, so I don't have to build to a device whenever I want to test. However, the OVR Headset Emulator doesn't move the vie...
dev_cm
5 years agoExplorer
muhr2 said:
filipefmiranda said:
OVRManager.csSeems to be a not "!" messing , OVRPlugin.initialized is set to true inside InitOVRManager().so the test should be is OVRPlugin.initialized == false is so call InitOVRManager().private void Awake(){//If OVRPlugin is initialized on Awake(), or if the device is OpenVR, OVRManager should be initialized right away.if (!OVRPlugin.initialized || (Settings.enabled && Settings.loadedDeviceName == OPENVR_UNITY_NAME_STR)){InitOVRManager();}}
Thanks @filipefmiranda - worked for me, too. Unity 2019.3.11f1 + Oculus Integration v17.0
Same in Unity 2020.1.10f1 + OVRPlugin v 1.52.5
File: OVRManager.cs
...
...
private void Awake()
{
#if !USING_XR_SDK
//For legacy, we should initialize OVRManager in all cases.
//For now, in XR SDK, only initialize if OVRPlugin is initialized.
InitOVRManager();
#else
//after adding the "!". The following IF-Statement works fine
//after adding the "!". The following IF-Statement works fine
if (!OVRPlugin.initialized)
InitOVRManager();
#endif
}
...
Thanks @filipefmiranda and the others for the intitial hint :)
Frenoir45
3 years agoHonored Guest
and they still have yet to fix this in 2023
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago