Questions tagged [virtual-reality]

Virtual reality is a technology that simulates the physical presence of users in an artificially-generated environment.

Filter by
Sorted by
Tagged with
1 vote
2 answers
30 views

Best way to implement a carrying tray in VR using Unity

I need a way to carry objects on top of other objects in VR without jitterness causing the objects to fall through a tray for example. I've tested with rigidbodies having very high friction, this does ...
Richard Muthwill's user avatar
0 votes
0 answers
18 views

Player controller duplicated or changes position when transitioning from another scene

I am experiencing some weird behavior. I am making a VR game in Unity using OVRPlayerController. I have a menu scene that is a full small level with an ...
user3046771's user avatar
0 votes
1 answer
62 views

Unity VR Max File Size

I have recently run into errors when building my Unity VR app for the Meta Quest 2 - and I wanted to check my understanding of something - from everything I've found it sounds like there is a max file ...
user3046771's user avatar
0 votes
0 answers
39 views

Is it possible to launch the default OpenXR runtime app dynamically?

I have a Unity game that I would like to make compatible with VR and desktop both in the same project. I have a script that calls ...
ShadowTheFox's user avatar
0 votes
2 answers
57 views

How do I detect a hit by a swung held object?

I have an XR Grab Interactable wrench and the grab is working fine, as is movement. I'd like to use it to smash some chains, so I figured that I could use an OnCollisionEnter on the chains, and check ...
Sean Duggan's user avatar
0 votes
0 answers
26 views

Enable socket interactor only when previous sockets are occupied

There are 3 boxes and 3 socket interactors. I only want the second socket interactor to work when there is a box in socket one and the third to work when there is a box in the first and the second ...
SPP's user avatar
  • 1
0 votes
0 answers
16 views

How to stretch a cylinder when dragging with a Ray Interactor?

I'm making a VR game in Unity. I want to select a cylinder with ray interactor and drag it, and as I drag, it should stretch. This is the code I have currently for 2D: ...
SPP's user avatar
  • 1
0 votes
0 answers
33 views

Raycaster causes Freezing in Unity Using Oculus SDK and OVRPlayerController

I am creating a scene in Unity using the Oculus SDK and XR Plugin. My scene works well in the Quest 2 including 2 VFX I have added and sound effects. I am following a LinkedIn course about VR UI - and ...
user3046771's user avatar
1 vote
0 answers
55 views

VR Controllers in Roblox Studio not working as expected

I am trying to create a Roblox game with VR support. My understanding is that this code should move the hands of the character as the user moves the controllers: ...
ridiche34's user avatar
0 votes
0 answers
48 views

OpenXR and valve index trigger value

EDIT updated code I've been looking for quite some time how to get valve index trigger value to be read. This is the current code ...
joonasj's user avatar
  • 101
0 votes
0 answers
34 views

Verify Unity, Oculus app on server side [duplicate]

Starting with the fact that my background is non-technical, I have used a keystore with my Unity game build that is for Oculus, Rift, etc. Now I want to verify the authenticity of incoming client ...
SKB_BGPL's user avatar
1 vote
1 answer
111 views

How do I make an interactive visual indicator in Unity?

I have a pad I interact with in my game. How do I make a visual indicator like the one shown in the attached GIF? You see that there is a circle that appears on the tablet showing where the user is ...
Craving_gold's user avatar
2 votes
0 answers
63 views

How should I go about making "tutorial hands" to show users how to interact with objects?

I'm making a game in which players will need to interact with several types of controls (switches, knobs, etc.) in various different ways. For part of the tutorial, I want to show them how to interact ...
Cipherix's user avatar
0 votes
0 answers
35 views

How to allow a Rigidbody to pass through another Rigidbody without stopping OnCollisionEnter from working

so im using Unity and im aware of the Physics page but it does make the Rigidbody pass through each other but it does not trigger OnCollisionEnter how can make it so the Rigidbody pass through ...
Troyy_'s user avatar
  • 1
0 votes
0 answers
24 views

Why don't my controllers work in the VR game that I'm making?

I am currently starting with the development of a vr game in Unity. Now i've followed multiple tutorials on how to make hands by using the controllers. (I am using the Quest 2) I can't get it to work, ...
Levi's user avatar
  • 1
0 votes
0 answers
20 views

VR Arms in Unity can't be seen through main camera

I am making my first VR game and when I put my arms out in front of me, the forearms and hands do not show or render. They can be seen through the in-game mirror that I have but not through the main ...
skimi's user avatar
  • 1
0 votes
0 answers
30 views

VR-Game - Synchronize Transform using Unity 2021, Mirror Network and XR Interaction Toolkit

I am trying to create a simple VR-Game with objects that can be grabbed by the players and placed in a space. I am using the XR Interaction Toolkit to make the objects grabbable and the Mirror Network ...
Pabe7485's user avatar
1 vote
0 answers
44 views

What vergence angle is commonly used for "infinitely distant" objects in VR?

I posted a very similar question on computer graphics stackexchange, here https://computergraphics.stackexchange.com/q/13399/11224 a while ago, but it hasn't attracted any answers. I think that VR / ...
Simon's user avatar
  • 111
0 votes
1 answer
173 views

XR Hands don't appear when I put down controllers

I'm trying to get hand tracking working in Unity using the XR Interaction Toolkit (XRI) and XR Hands. I'm testing this in the Unity Editor on an Oculus/Meta Quest 2 headset via Oculus Link or Air Link....
Sean Bannister's user avatar
0 votes
0 answers
409 views

Unity Mirror Networking and child object transform sync issue (VR co-op)

I'm first time trying to setup multiplayer/co-op game mode for the VR game. Currently just trying to get the avatars to move similar fashion to all clients. Issue atm is that I can read the head ...
joonasj's user avatar
  • 101
0 votes
1 answer
80 views

Jedi Outcast VR Port - Lightsaber effect

Dr. Beef's VR port of Jedi Outcast has the best implementation of the lightsaber effect I've seen. It's far better than the lightsaber effect in ILM's own Vader Immortal. The lightsaber in Vader ...
OpenUserX03's user avatar
1 vote
0 answers
34 views

How to cut a desired shape out with desired depth of a mesh on VR?

I am creating my first Unity project which is a 𝐕𝐑 𝐬𝐢𝐦𝐮𝐥𝐚𝐭𝐢𝐨𝐧, and I am struggling with a particular issue. I need to create 𝐚 𝐜𝐨𝐦𝐩𝐥𝐢𝐜𝐚𝐭𝐞𝐝 𝐦𝐞𝐬𝐡 𝐜𝐮𝐭 𝐟𝐞𝐚𝐭𝐮𝐫𝐞 that ...
Saif Eddine Layouni's user avatar
0 votes
0 answers
89 views

Why do my VR avatar's hands clip through my chair object?

I have spent hours on this task and I feel it's high time I asked. My avatar hands go into my chair GameObject. I added a box collider to the hands of my avatar and unchecked "Is Trigger". I ...
Craving_gold's user avatar
0 votes
0 answers
54 views

How to scale a room along the z axis so one wall stays in place and only the far wall moves?

I'm a Psychology undergrad working in a spatial navigation lab where we design Unity environments and have people navigate them in VR. There's a lot of stuff we do here that doesn't involve coding, ...
Logan Gomez's user avatar
1 vote
1 answer
134 views

Showing something different on screen to what is seen in Oculus

I was tasked with creating a demo for something involving VR. They want people to use the VR headset, but they also want to visualize some of the calculations that go on behind the scene to the ...
user1999728's user avatar
0 votes
0 answers
44 views

Making a Chest for VR Game with Hinge - Now I need sound

I am trying to make a litte RPG Game for VR (openXR and Hurricane VR framework in Unity) The chest works now, but I would like to have an opening and closing sound. Because I dont use an animation for ...
SettusBlake's user avatar
0 votes
0 answers
156 views

Issue with excluding object from post-processing in VR

I wanted to exclude some objects from a specific layer from rendering in the post processing. I followed both : https://www.youtube.com/watch?v=LAopDQDCwak and https://www.youtube.com/watch?v=...
Felox's user avatar
  • 67
0 votes
0 answers
198 views

Unity XR - Rotate a grabbed object with XRGrabInteractable around its pivot

I'm pretty new to VR development with Unity, what I need to do is to grab a clockwork object and rotate it around its pivot by moving the right hand controller, like if I had to do that in real life ...
Frank Eno's user avatar
  • 101
0 votes
0 answers
38 views

Specify endpoints and orientation of FixedJoint created programatically

I'm creating a VR game with Unity using XR Interactive Toolkit with physics based hands which follow the controllers around, but collide with objects. So if you reach through a stationary object, the ...
jarjar27's user avatar
0 votes
1 answer
188 views

Use Graphics Raycaster do implement pointer control VR

I am trying to figure out how to allow my players to put in a code to join a group room using photon. Unity seems to suggest using a graphics raycaster but in most sample code it uses mouse input for ...
Doug Ray's user avatar
  • 143
1 vote
1 answer
789 views

Manually trying to start AR Core XR Loader, but its Subsystems won't start?

I'm trying to implement that in one scene I start the Google Cardboard XR Loader, and in the other scene I start the AR Core/AR Kit XR Loader. This is how I start the loader required for the scene: <...
Tudvari's user avatar
  • 721
1 vote
1 answer
3k views

Can't play my .apk on Pico VR due to Copyright Verification error

I’m learning to use Unity to create VR applications for my company to use internally. I created an app that worked great on the Quest 2, and decided to try to do this for Pico as well. I followed a ...
Wes Tomer's user avatar
  • 141
1 vote
0 answers
1k views

Unity VR Detect if object is being held

I am using the XR Interaction Manager in Unity VR. The player can hold objects when pressing the trigger button of the hands (the interactable object has the component XR Grab Interactable). I want to ...
Howler's user avatar
  • 169
1 vote
0 answers
80 views

Get Vive Cosmos' proximity sensor state

I'm working on a project with both VR and Desktop modes in the same scene and using Ultraleap. I was previously using an HTC Vive and SteamVR to detect if the user put the headset on his head with the ...
RonanV's user avatar
  • 11
0 votes
0 answers
74 views

My instantiated prefab is rotating in scene view but not in game view during play mode. Why?

I created "rotate.cs" & attached it to a prefab which gets instantiated during play mode. The gameobject which spawns is supposed to rotate constantly. For some reason, it rotates only ...
ahiyantra's user avatar
0 votes
1 answer
179 views

"Attach socket" with Oculus Interaction SDK

I'm trying to recreate the "attach socket" (XRSocketInteractor) from Unity's XR Interaction Toolkit. Has anyone had any success? I've read through the documentation but can't come up with a ...
Richard Muthwill's user avatar
0 votes
1 answer
269 views

Unity VR IK Rig Accurate & Dynamic Proportions For Players

Hope all is well with you! I am messing around with a game idea in Unity. I am working on getting a good IK rig going on for the player since it will be an important part of the gameplay. I currently ...
Max's user avatar
  • 3
2 votes
1 answer
507 views

Unity- how to stream videos from external source?

I'm working on a Unity level for a VR project that requires displaying multiple 360 videos in a hall. These videos are large (8k and 60 minutes each) so cannot be contained in the app itself. Is it ...
username5374's user avatar
0 votes
0 answers
384 views

Unity XR toolkit and Mirror networking, grabbing

I am new to both XR toolkit and Mirror and I have this problem that when I try to grab a box in online scene. It didn't work even thought it worked on the offline scene when I test it. anyone got any ...
Grandpa Fox's user avatar
1 vote
1 answer
75 views

What does "ray-traced through the lenses" mean in the Oculus VR compositor documentation?

In this link: https://developer.oculus.com/documentation/unity/unity-ovroverlay/ Objects and textures rendered as compositor layers also render at the frame rate of the compositor, the refresh rate ...
Ignis Incendio's user avatar
1 vote
1 answer
179 views

Why does today's "Metaverse" look equally or even worse than the 1990s 3D chat worlds? [closed]

In late 1990s and early 2000, I tried out "Active Worlds" and more. They let me register an account and then walk around in a vast 3D world and chat with people/avatars. It was surreal and ...
user17966019's user avatar
1 vote
0 answers
119 views

Blending sword motion with sword swing sound in VR

At first, this may seem like an easy problem to solve. I also thought so. (This was a one tick task in my Trello board). But in VR the players' weapon (Sword) swings are unpredictable. The direction ...
Rulindil's user avatar
0 votes
1 answer
116 views

Finding controller's rotation about arbitrary axis

I'm trying to simulate knobs in a virtual reality environment where the user can grab a knob and twist it with the controller. Essentially what I'm trying to do is translate the global rotation of the ...
Matt's user avatar
  • 1
0 votes
1 answer
2k views

Getting XR Grabbable items networked with Unity

I'm trying to get XR Grabbable objects networked in Unity, with the networking framework Mirror. This should be a simple task as Mirror has a component called "NetworkTransform" that simply ...
Richard Muthwill's user avatar
0 votes
1 answer
1k views

Unity 2020.3.15f2: Choose between VR and Desktop at launch

Lots of games have options for launching in VR or Desktop modes, either through steam launch options ("Play game", or "Play game in VR") or command line flags (...
Nicholas Dechert's user avatar
0 votes
0 answers
231 views

Unity XR Ray / Line renderer on the floor

When using Unity's XR system, the teleport ray / line renderer I'm stuck on the floor. Turning the XR rig also turns the line, so the line is stuck on 0,0,0 on the XR Rig I've played with most ...
Richard Muthwill's user avatar
0 votes
0 answers
39 views

Unity cheap fluids visuals for VR using Post Processing

I'm trying to create a turret in VR that will spray water onto a wall. I need a way that will take the collision of the fluid and transfer that to a splatmap to change the material of the wall. I know ...
Paul Brown's user avatar
0 votes
1 answer
448 views

Unity - jagged shadows when export as apk?

Alright, I found this question with the same problem but it's out of date Jagged shadows with default settings My problem is a discrepancy between shadow quality settings in editor vs apk built to ...
blue's user avatar
  • 131
0 votes
0 answers
251 views

VR Controller Tooltip in Unity

I'm looking to implement tooltips on VR controllers (e.g. controller highlights, text overlays) in Unity (e.g., Oculus Quest, XR interaction toolkit). I have seen an old solution based on VRTK. How ...
Jiro's user avatar
  • 101
3 votes
1 answer
202 views

Is it possible to record video, depth map and 6D pose of any games?

I'm not a game developer, but a researcher working on improving video quality in various contexts. For my current problem, I need to collect videos which have both RGB data as well as depth data. ...
Nagabhushan S N's user avatar