I had some projects for Virtual Reality using Unity. Before of Unity 5.1 I’ve been using “ovr_mobile_sdk_0.6.0” where is included Unity package integration.
With the last version, I’ve migrated my apps, removing “ovr_mobile_sdk” and using “Unity.VR” native. So I’ve removed OVRCameraRig, and added normal cameras, and Unity doing the “magic” of VR.
All is working well, but… when I tried to upload to Oculus Store, people from Oculus Support tell me that report:
"
There are some minor technical issues that need fixing before we can proceed:
There is no volume meter (it is supposed to appear while adjusting the volume)
"
I’ve seen that the problem isn’t of my application, is Unity native for Gear VR.
If I deploy the app with Unity 5.1 using native checkbox, volume bar won’t appears.
The same applciation, but using old “ovr_mobile_sdk_0.6.0” and volume bar will appears.
So, can Unity solve that problem for the next versions. Hope this helps.
@Javieret Could you submit a bug report and port the bug report number here? We were unaware of this, but I will let Oculus know and we will start looking into this. Thanks.
@Javieret Oculus has released a Utilities Package for Unity that includes a script for the volume meter. Please use this and then resubmit your game for the store.
Sorry, I’ve just test to add Utilities Package to my Unity 5.1 native VR project, and the same. When you press volume buttons you don’t see anything in the screen
I’ve done this GameObject child of Camera, and changed this line in “OVRManager.cs” in Update method:
if (volumeController != null)
{
if (volumeControllerTransform == null)
{
if (gameObject.GetComponent<OVRCameraRig>() != null)
{
volumeControllerTransform = gameObject.GetComponent<OVRCameraRig>().centerEyeAnchor;
}
//Add this line, because we don't have OVRCameraRig
volumeControllerTransform = gameObject.GetComponentInParent<Camera>().transform;
}
volumeController.UpdatePosition(volumeControllerTransform);
}
How can I position the volume bar. its seems to show up really low down in one scene and high up in another. Moving the game object has no effect. thanks