You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
VR Headset: Meta Quest Pro connected through SteamVR using ALVR
Unity version: 22.3.21f1 ( I also tried with 2021.3.36f1 and I get the same result)
Linux OS: Ubuntu 22.04
Step to reproduce:
Launch ALVR and connect your headset using SteamVR
Toggle Initialize XR on Startup and OpenVR Loader in Edit -> Project Settings -> XR Plugin Management
Set Stereo Rendering Module to Multipass and Mirror View Mode to Open VR in Edit -> Project Settings -> OpenVR
Switch Graphics API to Vulkan for Linux in Edit -> Project Settings -> Player -> Rendering
Generate SteamVR Inputs through Window -> SteamVR Input -> Save and generate
Press play -> it works correctly
Build app with File -> Build Settings -> Add Open Scenes then select Linux as Target Platform
Launch compiled AppImage -> head movement is tracked but no controllers appear
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:
...
Editor App Name :
[XR] Editor App Key :
[XR] Action Manifest Path : /home/nardi/Build/VRTest2_Data/StreamingAssets/SteamVR/actions.json
[XR] Stereo Rendering Mode : Multi Pass
[XR] Initialization Type : Scene
[XR] Mirror View Mode : OpenVR View
[XR] [OpenVR] [path] /home/nardi/VRTest2
[XR] [OpenVR] [Error] Action manifest file does not exist at path (/home/nardi/VRTest2/Assets//home/nardi/Build/VRTest2_Data/StreamingAssets/SteamVR/actions.jsonore)
[XR] [OpenVR] startupInfo: {
"action_manifest_path": "/home/nardi/VRTest2/Assets//home/nardi/Build/VRTest2_Data/StreamingAssets/SteamVR/actions.jsonore"
}
...
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:
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, 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:
The text was updated successfully, but these errors were encountered: