Questions tagged [virtual-reality]

For programming questions about virtual reality. Only use this tag when a specific platform tag doesn't exist or the question is sufficiently cross-platform.

0
votes
0answers
8 views

Create an Oculus Room for social VR with Unity3D

I have recently bought an oculus Quest and I would like to create a social experience similar to RecRooms. After a research I found out about three possible ways with different levels of difficulty (...
1
vote
0answers
22 views

Apply VR lens distortion (barrel distortion) to live video feed

I am trying to create a custom VR headset that displays a live feed from a remote camera, and in order for the view to be clear from the vr headset, I need to duplicate the image from the camera for ...
0
votes
0answers
31 views

Using Raycast instead of Gaze Pointer

I'm new to VR development,I'm using oculus integration so I made a ray line with the line renderer , but now I need to make this line interactive with everything like a gaze pointer (objects,UI, ...
0
votes
0answers
20 views

SteamVR 2.2: Trigger not getting detected from Vive Tracker in Unity3D

I have connected Vive Tracker to a Gun via Pogo pins. I have set Vive tracker as "vive tracker held in hand". How do I get to know when the trigger is pressed. I have tried everything. I created a ...
0
votes
1answer
45 views

Object is not triggering collider

Hi my problem is in Unity, I am a beginner in c#, my gameObject is not triggering the collider that is set on the plane of the game, in order for it to reset it's position. using System.Collections; ...
-1
votes
0answers
9 views

Realtime Motion Capturing in Unity and how can my Avatar Interact with other Objects / the Ui

I´m really new to Unity and for my Bachelor thesis I setup a project in which I stream live mocap data from Motive (Optitrack) to my avatar in Unity which works all great so far. It is a virtual ...
0
votes
0answers
14 views

SteamVR 2.0 not compatible with VRTK?

I am currently using SteamVR 2.0 in combination with the latest version of VRTK that is currently in the Unity Asset Store (v3.3.0). I really like the Radial Menu prefab that is in the VRTK version, ...
0
votes
0answers
6 views

Cenario VR iOS course is starting from the beginning again and again

We create a course using cenario VR for mobile. Created course will be run on our ilms on desktop it works fine but on iOS Mobile it will restart after some time. We Use rustici engine and iEngine to ...
-1
votes
0answers
14 views

How do you stop SteamVR_Action_Vibrate

I have written the following method to output a haptic action/vibration to the controller: public SteamVR_Action_Vibration hapticAction; private void Pulse(float duration, float frequency, float ...
-2
votes
0answers
19 views

Edge detection and fog based on depth

I am newbie at Unity and student studying VR. I have been making a project based on "Edge detection", and I hope the edges will be fade depending on the depth. So, after few tries and researches, I ...
0
votes
1answer
55 views

Unity increasing the scale of a GameObject not working?

GameObject: I have a gameObject "Sphere" with the following properties: Starting scale of 1.5 (x, y, z). A script that makes sure that the scale is between 0 and 150. What do I have: Now, I have ...
0
votes
0answers
17 views

How to use VR headset as an output source in OpenCV

I am trying to send frames to a VR headset. If I wanted to show what my webcam sees in greyscale, using python and opencv, I would do something along the lines of ret, frame = cap.read() grey = cv2....
2
votes
1answer
22 views

Where can I find build system option in Unity?

I'm building a VR application in unity version 2019.1.2f1 but I can't seem to find the "build system" option in build settings, has it been removed? I've when into build settings and searched "build ...
0
votes
1answer
27 views

Interaction with AFrame Click-to-show

So I wanna make an interactive bar charts with aframe. For example clicking the bar showing it's details. Like in the glitch here https://glitch.com/~salty-partner-1 The problem is, as you can see, ...
0
votes
0answers
9 views

VRTK Radial Touchpad not working properly?

I am trying to use the VRTK for a Radial Menu that is attached to the controller. I have followed this tutorial: https://www.youtube.com/watch?v=9X1BJeomnPM However, I can not seem to get it working. ...
0
votes
1answer
14 views

Does Gear VR with Samsung s7 edge support user position tracking?

I want to find user movement walking and tracking position and move camera accordingly in virtual reality app , not head movements like rotation , etc. So I am wondering whether this combination Gear ...
0
votes
0answers
18 views

Unable to detect rift, XR.XRSettings.enabled is returning false

I have a project that I need to support both Oculus Rift and SteamVR.I am trying to upgrade it from 2017.2.0f3 to 2019.1.5. After upgrading I can't get it to recognize the rift. I have this code: ...
1
vote
2answers
25 views

Swipe on Oculus GO Touchpad triggers UI clicks when it shouldn't

Using: Unity 2018.4.1 LTS & Oculus GO I am using a gaze pointer to interact with Unity UI. This is supposed to happen when you pull the trigger, exactly how I defined it in my script: a swipe ...
1
vote
0answers
24 views

How to set up render textures in VR for Unity

I am trying to build a VR applications with portals into other worlds. These portals do however not have to be flat, they can be bent. Here https://www.youtube.com/watch?v=EpoKwEMtEWc is video from an ...
0
votes
0answers
14 views

Getting the menu button input on the SteamVR controller

Hi2, Does anyone know how to get the menu button input on the steamVR controller via C# code in Unity? Currently I am able to get the input from the the trigger, trackpad, and grip button. private ...
0
votes
1answer
29 views

How is the Oculus Touch controller selection implemented?

I'm extremely new to Unity and Oculus, and I'm attempting to follow this guide on how to enable a controller laser pointer to select a 3D object in Unity. This is my current attempt: OVRCameraRig ...
0
votes
0answers
10 views

Unity3d cardboard VR up and down flipped

Untiy3D 2019.1.2f GoogleVRForUnity_1.200.0 deploying on ZTE Axon 7. Up and down are flipped. If I look down actually camera looks up. I tried to play with player settings for orientation but no ...
0
votes
1answer
32 views

Errors while trying to build Unity app for VR

When I build or "build and run" the project I get three main errors. The project works because when I press play it does what it suppose to do in the game window. I'm trying to develop for the gearVr ...
0
votes
1answer
18 views

Google VR SDK stuck in portrait mode

I've built the app and compiled it with VR enabled and cardboard selected as my VR device. I can install and run it on my phone (Samsung S8) BUT the in game camera is stuck in portrait mode and the ...
0
votes
0answers
17 views

Oculus Go app using Unity takes longer than 10 seconds

Oculus Go app (android) loads in 4 secs with an empty scene and an OVRCameraRig. But the same empty scene takes longer time (more than 10 secs) to load when the next scene is loaded with the content. ...
-1
votes
0answers
20 views

How do I configure Unity and my computer to run my game/project on Oculus Quest?

I've been reading through the Oculus website for Mobile development. There are tons of links, and it's unclear what works for GearVR and what works for Oculus GO, and what works for Oculus Quest. The ...
2
votes
0answers
51 views

Why can't I play preview my simple Unity Scene?

I'm new to using Unity so is likely a really easy fix. I have taken a 3D Google SketchUp model and I'm looking to have a player look around the model. Super simple. I have added the 3D Plane, added ...
0
votes
0answers
35 views

Unity slider only works from one side in 3d

I am trying to create a slider using Unity to be used in a 3d environment but the sliders only work from one side, it seems like they only work in a 2d plane. I replaced the handler of the slider ...
0
votes
0answers
12 views

How to add oculus sdk to existing project in android studio?

So I have an an existing, working android application that uses the default (I think) SDK. Is there a way I can reconfigure the project to use the oculus SDK also/instead? I am new to android and I am ...
-1
votes
1answer
26 views

make an app that displays desktop on iphone in vr on unity

I would like to make an AR iPhone app in unity that places an object in the real world which you can then interact with it on your iPhone. like you have a bar at the bottom of your screen and you can ...
0
votes
0answers
13 views

Apply Local Rotations to VR Camera in Unity

I am trying to apply perturbations to user view in VR for an experimental system. What I am trying to do is that regardless of the direction the user looks at, I want to rotate his/her view in x ...
0
votes
1answer
27 views

Aframe 'startEvents' not working with gltf model

I'm trying to animate the position of a gltf model using A-Frame by clicking on a button. The animation works without the 'startEvents' property but stops working as soon as the property is added. The ...
1
vote
0answers
67 views

Is it possible to set-up VR in the HDRP?

I'm trying to get VR to work in the HDRP. I've tried VRTK and SteamVR, but found out that VRTK doesn't support the new SRPs yet. I'm wondering if there are any other methods I can try to get VR to ...
0
votes
0answers
40 views

Getting Trackpad Input with SteamVR Unity Plugin

I'm trying to set up simple trackpad movement in Unity with the SteamVR plugin. No input is showing up, just constantly showing an empty Vector2 at 0, 0. Other inputs, such as trigger or grip press ...
0
votes
1answer
24 views

React Native viro react VR SkyBox is not working

I am developing a VR application using ViroReact, https://viromedia.com/viroreact. But I am having problem with using SkyBox (Cubemap) VR scene. Everything is working fine when I used Viro360Image ...
0
votes
1answer
21 views

Implementing VR UI/Menu? (Tried tutorials but none help)

I want to make an app with several different 360 videos and the problem I have is creating a Menu/UI for selecting which 360 video to play for the Oculus Go. I tried the Getting Started with 360 ...
1
vote
0answers
8 views

How to transfer a VR button ownership using Photon2?

I am currently working on a project and I want to use several buttons in my multiplayer game. Unfortunately the button can only be pushed locally and it's not synced over the network. For some ...
1
vote
0answers
29 views

Which property do i have to change in order to make shaders works?

I have made a shader to work with outlines, but when I put it on an component (cube for example), the shader change all the components. I just want to change the outline and the shader change the ...
1
vote
2answers
55 views

I'm really struggling to pass the Oculus VRC TestSubmitWhenNotVisible test

I'm stuck on the last test for my app before submission to the Oculus store. I've tried all sorts with no avail. I need to do is pass the frames when not visible test. Effectively, the app needs to ...
0
votes
0answers
19 views

Are there any methods to automatically add a 2D dress to a 3D human body mesh?

I have been trying to add dresses to a 3D Human model. Is there any methods to automatically render the cloth on the faces of my model?
0
votes
0answers
15 views

How to configure Google cardboard VR gear and gun with Android?

I am working on Unity to to built a g game on virtual reality but it creates a problems during configuration of Google cardboard VR gear and gun with android.
0
votes
1answer
35 views

Why does my player not move automatically?

I'm having trouble finding my mistake regarding my automatic movement script. I will explain first what i tried to do so you can understand it better. So i am programming in c# in unity. It is for VR. ...
0
votes
1answer
24 views

Access the OpenVR chaperone (Play area boundary box) without having SteamVR

I am trying to get access to the bounding box/Chaperone of my VR project without relying on SteamVR. I am trying to build a framework that works as native as possible to Unity. In SteamVR one would ...
0
votes
0answers
13 views

Cenario VR Android course is starting from the beginning again and again

We create a course using cenario VR for mobile. Created course will be run on our ilms on desktop it works fine but on Android Mobile it will restart after some time. Below are some error that I found ...
0
votes
0answers
32 views

How can I fix the youtube VR app on Steam? The VR180 format is broken. How do I get a hold of the Youtube VR team

I cannot get a hold of the Youtube VR team. VR180 videos are broken for everyone in the Steam app (check the forums). Google reps do not respond. People want the app fixed for desktop VR180 youtube ...
0
votes
1answer
83 views

Creating a custom square shape shader

I'm trying to create a custom shader in unity. Following is the code for my shader. Pass{ CGPROGRAM #pragma vertex vert #pragma fragment frag #include "...
0
votes
0answers
33 views

A-Frame cursor is not moving in VR mode using google cardboard

I am trying to create a 360' VR Image Gallery with A-Frame. I initially followed the guide on the main A-Frame website (https://aframe.io/docs/0.9.0/guides/building-a-360-image-gallery.html). The ...
0
votes
1answer
54 views

Unity Leap Motion Error Message “INPUT AXIS NOT SET UP”

I'm currently doing my first VR project with Leap Motion, HTC Vive and Unity. When I create a new project and add the LeapRig, everything is just fine, but after adding the Interaction Manager as a ...
0
votes
0answers
12 views

How to play and pause 'a-videosphere' and how to enable wasd-controls for 'a-videosphere' rather than other entities like 'a-box'?

I'm trying to play a VR video on my website for computers using 'aframe-react' library. By far, the video's been playable but it can't be controlled, i.e. users cannot pause or play it (it starts ...
0
votes
1answer
46 views

Unity & Leap Motion - How to get live hand data?

Sorry if this is a dumb question, but I searched the Leap Motion Docs for Unity and couldnt figure out how to solve my problem. I just want to access the current hands (and their data, like ...