All Questions
Tagged with steamvr unity-game-engine
72 questions
0
votes
0
answers
16
views
How can we use 4 HTC Vive controllers with No HMD Vive Wireless Dongle?
We have a project, where we are using NO HMD and only steam VR and HTC vive trackers. We want to switch to the HTC vive controllers with these vive dongles. We can connect 4 Controller with dongles ...
0
votes
0
answers
18
views
Locking SteamVR Laser Pointer to an Object During Drag and Drop in Unity
In my VR game, I am using the SteamVR laser pointer to pick up objects (photos placed on a table) and drop them at specific locations. These objects can be picked up again and dropped elsewhere.
I’ve ...
0
votes
0
answers
53
views
How to stop Steam VR camera in Unity to peek through the wall, physically in virtual environment
Regardless of existance of colider, headset postion inside the wall makes player see through the wall.
1-1) I am using controller for movement(Vector2, touchpadposition). in moving with controller, ...
-1
votes
1
answer
164
views
Running a VR application developed in Unity on Valve Index? (VR Point Cloud Editor)
I'm interested in annotating a .ply point cloud file in VR, and it looks like VR Point Cloud Editor (or VR Point Cloud Cleaner, which may be a previous name/version) has the features I'm looking for: ...
0
votes
1
answer
77
views
Unity SteamVR teleportation on moving teleportation area
I have the ship in my Unity VR scene, that moves in space via the animation with animator component on it. Also on this ship I have a teleportation area and player, that are parented to ship prefab, ...
1
vote
1
answer
53
views
Unity Rendering one frame in VR and then giving up?
I'm making a VR game in unity using OpenXR using the standard built in render pipeline, and when i start it with steamvr on it tells me its waiting for the game, shows one frame, and then flickers ...
1
vote
2
answers
219
views
Snapping interaction in VR
I have a device in my hand. I want to snap this device in my hand to the surface of the target object in a VR scene. I am using SteamVR plugin. When I bring my device closer to the target object, the ...
1
vote
0
answers
442
views
OpenXR Runtime set to Steam is causing performance problems on Oculus Link
I am developing VR game on steam using Unity 2021 and OpenXR. When OpenXR Runtime is set to Oculus like on screenshot, everything is ok, performance in game is perfect.
But when I set OpenXR Runtime ...
0
votes
1
answer
362
views
What's the best way to detect if an object is grabbed in SteamVR?
I'm currently developing a VR experience where spheres are sound sources and the trackpads control sound volumes through sliders.
What I'm currently trying to achieve, is that when a sphere is grabbed,...
0
votes
1
answer
390
views
Unity SteamVR Controller Initialization Issue on Build
So I've created a game that functions perfectly in the editor, however when I build it, it throws me a NullReferenceException error. The Log tells me it is within the Initialize() function but since ...
0
votes
0
answers
3k
views
error CS0234: The type or namespace name 'InteractionSystem' does not exist in the namespace 'Valve.VR' (are you missing an assembly reference?)
https://github.com/googlevr/tilt-brush#enabling-native-oculus-support
If you open this project (Unity Version 2018.4.11f1) and upgrade to 2020.3.33f1
CS0117: 'VREditor' does not contain a definition ...
1
vote
1
answer
112
views
Quaternion offsets not consistent
Current problem:
I'm using world space quaternion offsets to rotate a player model's hands to the player's true hands using:
private Quaternion GetOffsetFromAvatar(Quaternion a, Quaternion b)
{
...
2
votes
1
answer
1k
views
How to design a smooth UI scroll inside Update() for a Unity VR application?
I am developing a VR application in Unity and I am struggling to develop a smooth UI scroll using my VR controller's joystick. So far what I have looks like this...
private void Update()
{
float ...
1
vote
1
answer
2k
views
How to get the SteamVR Inputs using OpenXR in Unity?
I enabled in Unity the OpenXR VR mode.
Then I enabled the HTC Vive interaction profile and others
After that I can see the world and I can get the Hand positions of the HTC Vive controller,
but I ...
0
votes
1
answer
386
views
When I load New Scene With SteamVR_LoadLevel All Controllers Freezing
Hey i am working on VR application with unity. I have got some scenes in my project. Everythings are fine first scenes. There is a level i am using a "Player" prefab and when i start a load ...
0
votes
1
answer
320
views
SteamVR Short Distance Grab
I am making a VR game using the SteamVR plugin. In this plugin, they make it so you can grab things when your hand is on it. However I would like to be able to pick things up from the floor when ...
0
votes
1
answer
236
views
Unity: SteamVR TeleportArc not colliding correct in Build
i am using Unity 2019.4.9f1 with SteamVR. The Teleporting-System works as expected in Playmode. When I build, there are some strange collision-glitches with the TeleportArc. The point at the end does ...
0
votes
1
answer
771
views
Best way to prevent physics calculations in Unity from eating too much FPS?
I'm a senior software engineer, but completely new to Unity programming. I've been teaching myself Unity for a few weeks by writing some SteamVR toys for myself. I wanted to ask about Unity's standard ...
1
vote
1
answer
1k
views
SteamVR: Correct way to get the input device triggered by an action and then get it's corresponding Hand class?
I have an action that is mapped to both my left amd right hand triggers on my VR controllers. I would like to access these instances...
Player.instance.rightHand
Player.instance.leftHand
......
0
votes
1
answer
2k
views
Combine four Unity projects into one dealing with duplicate scripts
I've recently been given a Unity VR project to tidy up. Very messy, wasn't even on Git. It consists of four Unity scenes, but each one lives in it's own Unity project. I need to have all of them in ...
3
votes
0
answers
1k
views
SteamVR on Viveport missing controller bindings (Unity)
I have frequent reports from users playing my game on Viveport that their controllers are not working. I believe this is due to missing controller bindings. When I test the game on Viveport it works ...
1
vote
2
answers
2k
views
Get SteamVR device information for tracked devices in Unity
Dear SteamVR and Unity Community,
I have searched now a lot how I can receive information about tracked devices in Unity but it seems this is insufficiently documented or just not possible except of ...
1
vote
3
answers
9k
views
Unity/Mirror networking no client sync
Goal: Object interact-able by both players and its position and rotation is synced(LAN).
Scene setup : simple scene similar to pong example in mirror,when both players are spawned a cube is spawned ...
1
vote
2
answers
1k
views
How to set the position of a gameobject into initial position after grabbing ended using hand in SteamVR using Unity?
Pretty new to VR.I took a gameobject from an intial position by grabbing.When I grab a helmet and touch my body collider it hides the helmet.So next I may pick glasses and apply it to my body(Hides ...
-1
votes
1
answer
385
views
Can I play my unity VR application using RiftCat
I am new to VR application development with unity using SteamVR. I haven't the capability to buy an expensive headset for my studies. So Can I test my unity application with RiftCat.
0
votes
1
answer
551
views
How can I fire a gun using SteamVR?
I am attempting to make some sort of shooter game, and have a script that I am starting off with. It is a script to create a gun, and I can already pick it up and move it around because I attached a ...
0
votes
1
answer
2k
views
Rotate an object with fixed point using controller in VR
I would like to have an object that has a fixed point and rotates based on controller movement in VR.
Here is what I want to implement
The user grabs an object.
The user pulls/pushes the object in ...
1
vote
0
answers
220
views
Interacting with objects in SteamVR
I'm trying to get Interaction setup in my scene for a colour memory puzzle game in Unity.
I've managed to get the scene changing when the player interacts with a button on a Canvas, so I'm trying to ...
1
vote
0
answers
105
views
Steam VR Input Settings resets after hit the play Button
I try to add Joystick Movement but every Time i delete the old Joystick Input Settings and add the new one it resets after i hit play
It feels like a bug, beacuse it works days before with other ...
0
votes
2
answers
545
views
Unity3D make object follow another but to move further
So, here is what i have:
SteamVR's hand gameobject
3D sphere.
what i want:
The sphere to move to same direction/position as the hand does, but it to move further with a multiplier. E.g. i move the VR ...
0
votes
2
answers
3k
views
Why does the scene camera change position and rotation on play
Win 10 Pro, Unity 2019.2.17f1
This issue occurs on occasion, randomly. It has happened with multiple different scenes on this machine.
In this instance, I have a scene that is completely empty ...
1
vote
0
answers
1k
views
How do I get the Vive controller Transform component from SteamVR 2.0 for a Unity project?
I'm currently developing an AR application in Unity using the Zed mini camera. The Zed SDK comes with a Zed_Controller_Tracker script which you attach to a gameobject in order to have that object ...
1
vote
0
answers
74
views
Why is my unity app crashing when I start another one?
I'm trying to create a multiplayer scene with VR in Unity using a HTC Vive and steamVR. But I can't test my app on a single computer. I do a "build and run" then my app start but when I click on play ...
0
votes
1
answer
719
views
How to convert Valve.VR.HmdMatrix34_t to UnityEngine.Transform
I am trying to get pass this error
cannot convert from 'Valve.VR.HmdMatrix34_t' to 'UnityEngine.Transform'
when importing MixCast SDK. Does anyone know how to cast
'Valve.VR.HmdMatrix34_t to'...
0
votes
1
answer
89
views
Can SteamVR 2.2 be used to develop an app for Oculus Quest in Unity3D?
I am developing an app for Oculus Quest, but want to use the SteamVR 2.2 Input System instead of the Oculus OVR. More specifically, I want to use the SteamVR hands and SteamVR_Skeleton_Poser.
I ...
1
vote
0
answers
605
views
Interactable script allows "Hand follow transform", defaults to transform of the attached object, ignoring offset
We are building a 3D VR billiard, and we are struggling with the Cue-Stick.
We try to use the steamVR Interactable scripts as much as we can.
I attach the Cue stick to the hand with
hand....
1
vote
1
answer
235
views
How to set X rotation of object the same as X rotation of VR controller
I've got a object which has the x rotation same as controller of vr.
transform.rotation = Quaternion.Euler(controller.transform.rotation.eulerAngles.x, 0, 0);
But I need to rotate it 90 degrees that ...
2
votes
2
answers
505
views
Determine which controller is sending me Actions in SteamVR
I'm starting to use the SteamVR action-driven Input system Version: 2.3.2 (sdk 1.4.18). I attached a laser pointer script similar to the Steam version to each controller. Now, when I squeeze the ...
1
vote
1
answer
505
views
VR CameraRig rotation, problem throwing objs
I'm creating a VR application in Unity using SteamVR. I have implemented a Snap Rotation Script, so, the user can turn himself in-game without doing it phisicaly.
My hierachy is: [CameraRig] -> (...
0
votes
1
answer
96
views
Unity3D SteamVR Tutorial Vive Pro Source Code
I want to write application on Unity for Vive Pro and it is very similar with the application of steamvr tutorial which has a ball robot character.
Where can I get this source code?
1
vote
1
answer
110
views
Reading from Serial port with Vive (SteamVR) resulting in huge lag
I am developing a Forklift simulation in HTC Vive using the latest SteamVR plugin (V 2.3.0). I want to add a custom fabricated steering wheel to the sim, which gives values based on it's rotation. I ...
-1
votes
2
answers
1k
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;
...
0
votes
1
answer
2k
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 ...
2
votes
1
answer
2k
views
Is there any way of getting rid of the screen mirror with SteamVR in Unity?
I'm developing a VR app using the MRTK and Unity. I tried initially with UWP but its limitations are to wide (Microsoft, please do something!) and decided to do it with Steam.
All is working fine when ...
0
votes
0
answers
541
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
1
answer
987
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
0
answers
29
views
How to add SteamVR assets in a Unity3D project to version control?
I have a Unity3D project that uses SteamVR. Adding SteamVR support means adding 70MB of files to my project, and I don't want to check these in, as I think 70MB is way too much. I do want a reference ...
1
vote
0
answers
817
views
What is the best way to manage Player object of SteamVR plugin for Unity3D when change of scene
I am developping an application using the new version of SteamVR plugin (2.2) for unity and i need to navigate between several scene during the game.
I have for all my scenes a Player object coming ...
0
votes
0
answers
118
views
Teleport Used for Scene Transition
I am trying to load a new scene in Unity 3D, using the SteamVR Teleport Prefab. However, even though I have the "Move Scene" option selected, when I teleport to that object, it just goes away and ...