Closed Hydran00 closed 4 months ago
After several tests I finally managed to make it work.
The issue seems to be related to the generation of SteamVR inputs (step 7 of previous comment).
WORKAROUND:
I generated the inputs before opening the Interactions_Example
and pressing Play
.
If you directly press Play
and then you accept the prompt for generating inputs you may face my issue.
My thought is that maybe there is a bug in the way paths to the actions.json
are generated.
Hi, thanks for the report. Do you mind giving this a try with the latest beta? https://github.com/ValveSoftware/steamvr_unity_plugin/releases
I tested the last beta (v2.8.3) and indeed I faced no issue, furthermore the issue https://github.com/ValveSoftware/steamvr_unity_plugin/issues/1107 seems to be solved.
For anyone working in linux that is facing some problems, you can try following my steps:
My setup:
Steps:
Hey @Hydran00 , how did you manage to even let it run at all? After importing SteamVR (from assets store), it warns me that recommended platform is windows (but I leave it at linux), when I hit play in the editor it crashes
Hi @SinanAkkoyun. I have the same warning obviously, but I ignored it. Are you able to enter play mode without connecting the headset? Did you follow each of my steps in the previous comment? I need more details to be able to help you! 😀
Hi @Hydran00 , acutally you already helped me out, I just had a problem with switching to Vulkan but now it works 😊 Thank you!
Hi, I am currently trying to build a VR application for Linux using this plugin. I loaded the
Interactions_Example
scene and it runs perfectly fine in the Editor: head movements are tracked perfectly together with controllers. The problem is that I cannot see my controllers and also buttons do not work in the built Linux application. The only thing that works is the head movement tracking, so I am able to look around but I cannot do anything else. Setup:Step to reproduce:
Initialize XR on Startup
andOpenVR Loader
inEdit -> Project Settings -> XR Plugin Management
Stereo Rendering Module
toMultipass
andMirror View Mode
toOpen VR
inEdit -> Project Settings -> OpenVR
Edit -> Project Settings -> Player -> Rendering
Window -> SteamVR Input -> Save and generate
File -> Build Settings -> Add Open Scenes
then selectLinux
asTarget Platform
Update:
I managed to isolate the problem but still no solution: if I run the app built in debug mode and open the generated log file I find:
And I noticed the incorrect path that seems to be a concatenation of two paths. It should be only
/home/nardi/Build/VRTest2_Data/StreamingAssets/SteamVR/actions.jsonore
. But I did not find a way to change this.This seems to be the main issue because after some not-interesting debug lines there is a list of failures that probably are the reason why controllers are not spawning in the scene: