Skip to main content

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
0 votes
3 answers
80 views

Who decides what the aspect ratio should be for a 180 VR video? [closed]

If I'm looking to create a 180 animation that is meant to be viewed in VR, how do I know what aspect ratio to make the animation? And who decides it? Could it be 1:1, 2:1, or something else? For ...
kyopa's user avatar
  • 111
1 vote
0 answers
16 views

Voice SDK does not work on the Quest but does in Unity editor

I am making a VR game for the quest with Unity and for a trial I have a microphone with a button that you have to press and say a specific phrase. For that I am using the Voice SDK but I have a ...
Alejandro's user avatar
0 votes
1 answer
334 views

Tracking real life object in Virtual Reality

I'm building a VR game (in Unity) in which a user uses a real-life steering wheel to drive around. I want them to be able to grab the steering wheel in real life, while the virtual counter part of ...
Chris_abc's user avatar
  • 101
0 votes
2 answers
95 views

Unity VR using OpenXR, how to spawn object when you grab a static object

I am trying to create a simple VR card game in Unity using OpenXR, just to learn Unity and also some VR stuff. I made a deck of cards object and a card object. I put both in a scene. The card is ...
nivs1978's user avatar
  • 103
0 votes
1 answer
245 views

No "USB Dialog Connection" option when enabling Developer Mode

I am trying to enable Developer Mode on my Meta Quest 3 and am running into a problem while following 2 different official developer docs: Setup Development Environment & Headset doc; and Enable ...
hotmeatballsoup's user avatar
1 vote
1 answer
83 views

Techniques for VR controller input smoothing

I work on a zero gravity space VR game where player can hold to an object and rotate around it using their hand. Imagine spacewalk on ISS, grabbing a handle with your extended hand and trying to move ...
Patryk's user avatar
  • 11
0 votes
0 answers
47 views

Red raycast despite valid target in Unity VR

I have a question regarding Unity VR and Interaction Toolkit. When I point at a UI canvas element, the raycast turns from red to white (indicating that it is a valid target). However, when I create a ...
 d_test_2030's user avatar
1 vote
2 answers
44 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
21 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
188 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
88 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
62 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
43 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
19 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
46 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
67 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
73 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
124 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
81 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
51 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
31 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
26 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
55 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
46 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
286 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
564 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
84 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
42 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
103 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
62 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
185 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
52 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
215 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
1 answer
251 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
889 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
  • 731
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
  • 171
1 vote
0 answers
86 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
83 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
221 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
325 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
801 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
439 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
77 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
185 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
127 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
133 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

1
2 3 4 5