0

I'm creating a Unity VR application for the Oculus Go. I get this error:

Failed to apply Oculus GearVR input manager bindings.
UnityEngine.Debug:LogError (object)
OVREngineConfigurationUpdater:EnforceInputManagerBindings () (at Assets/Oculus/VR/Editor/OVREngineConfigurationUpdater.cs:213)
OVREngineConfigurationUpdater:OnDelayCall () (at Assets/Oculus/VR/Editor/OVREngineConfigurationUpdater.cs:85)
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

Note that I'm not using the most updated version of the Oculus Integration and the Oculus XR plugin, to get support for the Oculus Go. I have Oculus Integration v18.0 and Oculus XR Plugin v1.5.0, as those were the most recent versions I could find that supported the Go. I have XR Plugin Management v4.2.1, and have selected the Unity plugin. These are my build settings, with platform Anroid:

Setting Value
Texture Compression Use Player Settings
ETC2 fallback 32-bit
Export Project
Symlink Sources (grayed out)
Build App Bundle (Google Play)
Create symbols.zip Disabled
Run Device Default device
Development Build
Autoconnect Profiler (grayed out)
Deep Profiling (grayed out)
Script Debugging (grayed out)
Compression Method LZ4

To be clear, I'm not building the project and then getting the error; I am just seeing this error in the console.

I can see that the error appears in one of these lines of code in OVREngineConfigurationUpdater.cs:

BindAxis(new Axis() { name = "Oculus_GearVR_LThumbstickX",  axis =  0,               });
BindAxis(new Axis() { name = "Oculus_GearVR_LThumbstickY",  axis =  1, invert = true });
BindAxis(new Axis() { name = "Oculus_GearVR_RThumbstickX",  axis =  2,               });
BindAxis(new Axis() { name = "Oculus_GearVR_RThumbstickY",  axis =  3, invert = true });
BindAxis(new Axis() { name = "Oculus_GearVR_DpadX",         axis =  4,               });
BindAxis(new Axis() { name = "Oculus_GearVR_DpadY",         axis =  5, invert = true });
BindAxis(new Axis() { name = "Oculus_GearVR_LIndexTrigger", axis = 12,               });
BindAxis(new Axis() { name = "Oculus_GearVR_RIndexTrigger", axis = 11,               });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_Button2", positiveButton = "joystick button 0", gravity = 1000f, sensitivity = 1000f, type = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_Button4", positiveButton = "joystick button 2", gravity = 1000f, sensitivity = 1000f, type = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_PrimaryThumbstick", positiveButton = "joystick button 8", gravity = 0f, dead = 0f, sensitivity = 0.1f, type = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_SecondaryThumbstick", positiveButton = "joystick button 9", gravity = 0f, dead = 0f, sensitivity = 0.1f, type = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_PrimaryIndexTrigger", dead = 0.19f, type = 2, axis = 8, joyNum = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_SecondaryIndexTrigger", dead = 0.19f, type = 2, axis = 9, joyNum = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_PrimaryHandTrigger", dead = 0.19f, type = 2, axis = 10, joyNum = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_SecondaryHandTrigger", dead = 0.19f, type = 2, axis = 11, joyNum = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_PrimaryThumbstickHorizontal", dead = 0.19f, type = 2, axis = 0, joyNum = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_PrimaryThumbstickVertical", dead = 0.19f, type = 2, axis = 1, joyNum = 0, invert = true });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_SecondaryThumbstickHorizontal", dead = 0.19f, type = 2, axis = 3, joyNum = 0 });
BindAxis(new Axis() { name = "Oculus_CrossPlatform_SecondaryThumbstickVertical", dead = 0.19f, type = 2, axis = 4, joyNum = 0, invert = true });

I think that it's possible that one of these axes doesn't exist for the Oculus Go or something like that, but I have no way to know, and I'm not willing to mess around with this for fear of wrecking soemthing.

I looked up the error message, but there were no relevant results.

UPDATE: I tried commenting all the BindAxis lines and uncommenting them one by one to see which one might be a problem. Turns out it's all of them. I think it might be something in the Input Manager, but I can't find any problems there.

pigrammer
  • 2,603
  • 1
  • 11
  • 24

0 Answers0