Questions tagged [oculus]

Questions about development for the Oculus Rift, a head-mounted virtual reality display.

The Oculus Rift is a VR headset by Oculus VR. It enables VR applications by providing high-accuracy head tracking (position and orientation) for input and a specialized head mounted display that renders a per-eye view onto each half of the built in LCD/OLED panel and uses lenses to produce collimated light and provide a wide field of view.

674 questions
5
votes
1 answer

Seamless async scene and textures loading - Unity & GearVR

I've got two major problems with Unity (5.3.4p1) on GearVR with Samsung S6: 1) Async scene loading. Is there any change that I can load a new scene in background without seeing small freezes? Scene has ~60k triangles and uses a couple of 4k textures…
jakub.sz
  • 63
  • 5
5
votes
3 answers

Detecting Oculus HMD in Unity

public Transform OculusPlayerPrefab; public Transform DefaultPlayerPrefab; void Start() { Transform player = OVRDevice.IsHMDPresent() ? (Transform)Instantiate(OculusPlayerPrefab) : (Transform)Instantiate(DefaultPlayerPrefab); …
Gigimoi
  • 125
  • 2
  • 11
5
votes
0 answers

Eye tracker in oculus

I'm currently trying to work out how to find the gaze position of an eye viewed through an oculus. It would be very helpful if someone could help me with this. The image below illustrates my setup. The black rectangle is the Eye tracker which I…
4
votes
1 answer

Listen for Oculus controller events in any website

Is it possible for a webpage to listen for button presses of a Oculus controller simply using some generic javascript code like document.addEventListener? In VR browsers by default the primary thumbstick scrolls the page up and down. The idea is to…
Gabe
  • 5,997
  • 5
  • 46
  • 92
4
votes
1 answer

Best sample app for Oculus development with Android Studio?

Can anybody recommend a working Android Studio sample app that I can use for Oculus Quest 2, preferably with good documentation? I am looking for something I can build and run to start playing with their OpenXR Mobile SDK. I am on an Intel Macbook…
Dan J
  • 25,433
  • 17
  • 100
  • 173
4
votes
1 answer

TryGetFeatureValue always 0 for Unity XR Input's CommonUsages.trigger

I am developing a VR game in Unity (2020.3.15f2) using the XR Interaction Toolkit package (1.0.0-pre.5) for my Oculus Quest 2. At this stage in my development, I am trying to recognize presses to the trigger and grip buttons on the controllers…
robbymarston
  • 344
  • 3
  • 16
4
votes
1 answer

Unity android manifest upload issues

I am trying to upload my application on Oculus store but I get the following errors: I have read the issues but none of them are included in my Manifest. I do not need these permissions either in my application. So how do I rectify something that…
Dennis
  • 163
  • 1
  • 8
4
votes
2 answers

Opening keyboard while clicking inputField in VR (Oculus Quest 2 and XRIT)

I am currently developing a small app for oculus quest 2, using Unity. I've created a canvas, in which I've added a button and an InputField. By using the XR Interaction Toolkit, I am able to click on the button or the InputField with both of my…
VassiliKan
  • 51
  • 1
  • 7
4
votes
1 answer

Google and Facebook sign-in via Oculus app in Unity

I am working on an Oculus App for both Rift and Quest. I am trying to do user sign-in through Google and Facebook but couldn't find any plugin which can work on Oculus app developed in Unity. As far as i think this is because when user sign-in…
4
votes
2 answers

Mirroring Oculus Rift controller positions in unity for bilateral movement

Currently I am trying to write a script that will mirror the movements of one controller onto the other for users who only have 1 functioning arm. How do I mirror the position of the one controller onto the other that way the arms are in bilateral…
Afroca
  • 115
  • 11
4
votes
1 answer

Unity Cannot See the Scripts in Assembly-CSharp.dll assembly from a Custom Assembly Definition

I have added Assembly Definition (.asmdef) to my script folder (my custom unity scripts). Now Unity complains that it cannot find OVRInput class which I've used it in one of my scripts (GameManager.cs): This OVRInput class is compiled into…
Kamran Bigdely
  • 7,946
  • 18
  • 66
  • 86
4
votes
1 answer

Can't find "My Preview Apps" in Oculus Go

I'm working on an Oculus Go app and haven't figured out yet how to sent it to our test users. The app is not published to Store yet and we'd like to test on a dozen distributed headsets before publishing. So we uploaded a build to the Alpha…
Vladimir
  • 387
  • 4
  • 15
4
votes
1 answer

AFrame Oculus Go Controller Documentation?

Does anyone know where I can get some decent AFrame Oculus Go Controller Documentation? I need to make a camera controller that moves like a WASD with the Oculus Go Controller. Right now on aframe.io there is no documentation on Oculus Go.
4
votes
1 answer

Unity Oculus Player Height

I want to get the player height you have set in the oculus settings. For example if you are 185cm(6 feet), apparently the gameobject holding the camera objects has to be set to the same height, which is 185cm. Is there a function or variable i can…
4
votes
0 answers

Can't get the GearVR MediaSurfacePlugin for Unity to play video

I've been having some issues while trying to play video via the Oculus mobile sdk MediaSurfacePlugin for Unity. I've tried lots of different ideas but keep coming back to the same problem; It seems like the Android mediaplayer can't find the file.…
AarnemK
  • 41
  • 1
1
2
3
44 45