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.
1,742
questions
-1
votes
0
answers
13
views
Need Assistance Implementing Stereoscopic Rendering in Flutter 360 VR
I'm currently working on a project using Flutter 360, and I'm attempting to implement Stereoscopic Rendering for a dual VR split-screen view within a VR headset. However, I'm encountering difficulties ...
0
votes
0
answers
7
views
How to implement late latching in DirectX 12?
According to the official document:
AtomicCopyBufferUINT and AtomicCopyBufferUINT64 enable late-latch to reduce perceived latency.
I'm having trouble understanding how this could be reliably used ...
0
votes
0
answers
40
views
Moving a parent object by a child object VR Oculus Unity
I am trying to move an object by moving a handle contained in the same prefab.
the below code seems to be working except the board keeps jumping to a location behind me and then back, seemingly every ...
0
votes
0
answers
32
views
How to make CommandBuffer work with Single Pass Instanced (multiview) in Unity's Default Render Pipeline on Android XR / VR?
I'm currently developing a project in Unity using the Default Render Pipeline, focusing on the Pico3 and Pico4 headset and WebRTC.
Our aim is to display real-time video within our seperate android app....
0
votes
0
answers
10
views
MRTK3 - Touch Events Problems
Situation: I am currently having a control panel (including some buttons, etc.) on a Canvas GameObject.
Goal: My goal is that the canvas is only visible if the user looks at the control panel (eye ...
1
vote
1
answer
21
views
Release gameobject in VR in a specific area to snap it back to original position?
Beginner C# developer in Unity, working with Oculus 2. I'm experimenting with Unity XR's hand tracking functions. So far I can grab an object with my hands, scale it, rotate it around, and release. ...
0
votes
0
answers
11
views
pixels per degree and cycles per degree on virtual reality
Pixels per degree (PPD) in virtual reality are more important than resolution and pixel per inch which is connected with the field of view. The VR companies are often advertising it, e.g., Varjo XR-4 ...
0
votes
1
answer
20
views
How to turn a flashlight on/off with VR trigger buttons?
I am trying to make a flashlight that can be turned on and off using the right hand trigger button(I'm using an oculus quest 2). Nothing happens when I press the trigger though.
I'm using unity 2022.2....
0
votes
0
answers
14
views
Video and Screen sharing with agora not working when VR headset connected in Unity
It is the same code as the code you get following the video sdk docs when implementing broadcast streaming for unity. Both video and screen sharing is working when using 2 computers. However as soon ...
0
votes
1
answer
19
views
Google cardboard VR closing the whole application after pressing switching VR off button
Hi there Im using Unity 2022 and latest version of Google cardboard VR, Im trying to switch between VR and normal mode but when I press the close VR button after switching the view back to normal it ...
0
votes
0
answers
9
views
Trigger changing the function on XR Interaction Toolkit on unity
Normally, my triggers of the VR Controller are used for walk and look, but when i grab some interactable, the trigger doesn't work with the normal function, it starts to rotate and change the position ...
0
votes
0
answers
12
views
Error permission camera with unity render streaming when upload the build on app lab
I am trying to create an app using unity that streams the meta quest pro screen to a browser using unity render streaming. I realized the problem was this package because by deleting it the problem ...
0
votes
0
answers
19
views
How to sync video in Unity with projectile firing in VR
I have a green screen video of someone throwing a ball every 5 seconds. I then have a spawnpoint to instantiate a ball projectile, but it moves out of sync slowly, presumably because of the ...
0
votes
0
answers
20
views
Oculus doesn't render Gizmos Unity Android Build
I encountered issues while creating an Android build for the Oculus Quest 2. However, after updating the project to 2023 version of Unity and its settings, I managed to get the game running.
Currently,...
0
votes
0
answers
15
views
UI Interaction via HMD in Unity
Currently, we are developing VR functions using MetaQuest 2 and Oculus Integration sdk. We developed tasks such as object retention, throwing, UI interaction, and finally tried to develop the ability ...
-1
votes
1
answer
14
views
What XR plugin should i use for creating a VR project on unity for android?
In case of Android, here are the three options that I'm getting to choose from. I wanna create a VR project for a cheap normal VR headset. Which plugin do I use so that it supports most of the VR ...
0
votes
0
answers
16
views
Importing 3D Scene into VR Project in Unity does not work
I recently modeled a space station in Unity (in a 3D template, using assets from the unity asset store). My friends had set up a VR template project into which I wanted to drag the space station. ...
2
votes
1
answer
99
views
Issues running the Unreal Engine 5.3 Spatial Anchors sample on Meta Quest 3 potentially due to AndroidFileClient
I am trying to build the Spatial Anchors sample project on Unreal Engine 5.3 (Oculus-VR Source) but receiving an error message related to the AndroidFileClient. The Passthrough and Scene samples have ...
0
votes
0
answers
21
views
Google cardboard qr code scanner, not scanning on third party apps
I have a poco X5 mobile and I wanna use VR apps like VRidge on it.
Inside Google Cardboard app itself, it scans immediately and finds my cardboard, but when I scan the same code in other apps like ...
0
votes
1
answer
91
views
How can I disable guardian in my passthrough Meta Quest application?
I cannot seem to be able to disable the guardian in-app even though applications like first encounters do not have a guardian. Isn't it counterintuitive to not allow guardians to be turned off in ...
0
votes
0
answers
35
views
When I install own application in Quest 2 through SideQuest, This message shows "self-signed certificate in certificate chain" in SideQuest
When I install my own application in Quest 2 through SideQuest, This message shows "self-signed certificate in certificate chain" in SideQuest, and the app is not installed in Quest 2.
I ...
0
votes
0
answers
24
views
Is it possible to use other hand models in OVR hand tracking?
I am currently trying to develop with Oculus Quest Pro using the hand tracking feature. However, I want to change to material of the hand so that it looks more realistic. Is there some good way that I ...
0
votes
0
answers
33
views
Unity app with Firebase works in editor but no longer connecting during build
I am making a VR application using Unity with OpenXR, and have it connected to Firebase Authentication and Realtime Database. It was initially working fine on both editor and on build on a Meta Quest ...
1
vote
0
answers
65
views
How to prevent mirroring of VR camera view to main monitor
I'm developing a VR application in Unity using the OpenXR plugin from XR plug-in management. By default, whatever is seen by the VR camera is also mirrored to the main computer monitor. In my specific ...
0
votes
0
answers
48
views
ReadyPlayerMe Avatar Animation with ThreeJS, Kalidokit and MediaPipe
I am working on ready player avatar to animate realtime from camera using Kalidokit three Js in react. I am facing issues with arms that is not animating while i was successful to animate face, hips, ...
0
votes
2
answers
95
views
When Moving XR Rig it move the main camera far from XR Origin Position
When I move XR origin in scene X and Z position, it move the main camera far away, any Idea how I can solve this
I try the Main camera out then move XR origin, then drag the main camera in and reset ...
0
votes
0
answers
29
views
Preserving A Game Object's Orientation When Snapping It Into An XR Socket Interactor [Unity VR]
I'm trying to create a puzzle in VR where the user gets cubes with different colours on each face (side). The goal is to stack the cubes together such that each pair of touching faces has the same ...
0
votes
0
answers
21
views
Convert AR mobile application to VR
I have created an AR mobile application using unity. So the application works fine and placing the AR objects correctly.
Now I need to view this AR application through a VR Box. Like the google ...
0
votes
0
answers
29
views
react js , AR VR, 3d modeling
Integrating AR (Augmented Reality) and VR (Virtual Reality) with 3D modeling in React.js involves leveraging various libraries and frameworks to create immersive experiences. Firstly, consider using ...
0
votes
1
answer
25
views
How can I stop a ray from passing through a GameObject (using XR Ray Interactor)?
I'm building a simple scene with a road and houses. The player is able to teleport on the roads (which are planes).
However, when the ray hits a house it just goes through and allows the player to ...
0
votes
0
answers
154
views
How to create unity UI blur shader that works in HDRP and VR and blurs UI?
over past few days we have been trying to find a solution on how to create blur shader in unity, either by script or shader and material. Doing this in version 2021.3.4, we managed to create a working ...
0
votes
0
answers
69
views
Oculus Meta Developer Hub Cast Error & Unreal Engine 5 VR Preview
I am trying to develop my own VR game and I want to see it simultaneously in oculus guest 2 device. But VR preview section does not active.
And also I have another problem from meta developer hub. I ...
0
votes
0
answers
29
views
How to print out dictation transcript using Wit.ai, Voice SDK and Unreal Engine
I'm using UE 5.2 building for VR on the Quest.
I have the Voice SDK installed.
In the docs there is info about installation https://github.com/wit-ai/voicesdk-unreal but no real info on how to use the ...
0
votes
0
answers
36
views
How do I input my own headset rotation and position values for steamvr to process and use in game?
I am trying to make a Steam VR compatible headset, I am strapping a Nintendo Switch joycon to the headset so I can track the rotation of the headset, but I can't find a way to somehow input the values ...
0
votes
0
answers
21
views
Three JS WebXR on Headset
I have a three JS app which is VR enabled.
If anyone has any experience or success in deploying to a VR headset, it would be great to get some guidance or direction.
Firstly, how can I visualize the ...
0
votes
0
answers
34
views
Changing mirroring output of VR on display with greater FOV
I have developed a Windows-based Unity application with VR and using the Meta Quest Pro headset (via Quest Link). Due to the (higher) resolution of the headset, the video of the headset is mirrored to ...
0
votes
0
answers
14
views
Insert phone into Cardboard holder in oculus quest
I am trying to run an aframe file on Android Studio When I try going into VR mode in Oculus Quest (clicking on the cardboard icon in the bottom right corner) I get the message "Insert phone into ...
0
votes
0
answers
33
views
How to highlight the object which VR hand will grab in Unity VR
I have many screws on my table but I want to highlight the screw which will be grabbed by my hand.
I have used screw's hover to highlight but every screw in my hand's sphere collider will highlight.
...
0
votes
0
answers
24
views
How to make one object grabable and movable at one end and the other end will be fixed on the surface in Unity VR?
In my unity VR project, I want to execute some task with an object.
Suppose, I have one stick on the table, I want to grab only one point of the stick and the other point will be tightly attached with ...
-1
votes
1
answer
51
views
360 video shot with GoPro has low quality in Unity VR
I have to use 360 videos for my next project in Unity. I have a GoPro2 camera which record on 4k/30fps, however the Oculus 2 Quest that I have displays the video in a bad quality that's not realistic ...
0
votes
0
answers
44
views
Integrating Vuforia with Unity for Real Object Tracking in VR
I'm working on a Unity project (version 2020.3.8f1) that involves a 3D environment using the SteamVR package for HTC VIVE interaction. Additionally, I'm using the Leap Motion controller to enable user ...
0
votes
0
answers
88
views
Overcoming Unity IL2CPP compiler issues ("error: unknown type name")
I'll try to be brief...
Unity 20022.3.4f1, building for Android w/ IL2CPP backend and ARM64 (for Pico VR).
imported DLL's (through nugetforunity)
Accord.3.8.0
Accord.MachineLearning.3.8.0
Accord.Math....
0
votes
0
answers
23
views
threejs Raycast collisions with xr controller not working
I’m able to get raycast collision detection working in my scene when using a mouse, as depicted in the first codeblock below. However, I haven’t been able to get a raycaster to intersect with objects ...
-1
votes
1
answer
18
views
Trigger GUI without OnClick (Unity)
Is there a way to trigger an event without OnClick function? I wanted to make a Cardboard VR game where the player can teleport to a location just by looking at a spot for a specific amount of time. ...
0
votes
0
answers
10
views
Intermittent VR controller input lag in unity
While developing a VR application in Unity, there is intermittent input lag when using VR controller. Problem doesn't seem consistent. This lag is affecting the user experience, making interactions ...
0
votes
0
answers
99
views
Obtain Nreal (Xreal) Air 3DOF tracking information
Using Unix-based system (Mac) what would be the minimum code to obtain the head-tracking 3DOF information coming through an USB-C port from Nreal (nowadays Xreal) Air virtual glasses? I would like to ...
1
vote
0
answers
62
views
Unity C#: Can't change position or rotation of a new object
I'm trying to implement a teleportation effect and need to spawn a new camera at the teleport destination. However, no matter what I try I can't change the position and rotation of the newly ...
0
votes
0
answers
60
views
(Unity XR Toolkit) Interactable priority
I need to make my pistol slide interactable always prioritised over grabbing the pistol itself. Is there any system for prioritising certain interactable over others in place?
Alternatively, does ...
0
votes
0
answers
13
views
Does A-frame work on stand alone Oculus/Meta devices?
If someone opens the web page in the meta browser (the headsets web browser) will the vr still work?
0
votes
1
answer
131
views
Meta Quest 2 - Unity app, graphics have very low resolution
I'm doing an app in Unity3D for Meta Quest 2 headsets. I've imported some interior model with materials and textures, but when I run the app on glasses it has really poor resolution. I don't know what ...