ValveSoftware/steamvr_unity_plugin

looks like new SteamVR no longer works with Unity

drnkf opened this issue · 2 comments

drnkf commented

I have updated Unity and SteamVR lately. Now my Unity projects won't work on my HTC headset in test run mode.
I started to test with fresh new Unity projects with only the SteamVR plugin, and tested on the Interactions_example scene.

On my PC in Unity I can see the headset tracking it working - basically the screen moves as expected. But the headset won't show anything. Audio is correctly delivered to headset.
On newer Unity 2022 or later, the video on headset shows the app is "loading" or "next up". Background is steamVRhome and there is a small icon in the middle of the test app. However all the VR apps on Steam works fine.
I also tested Unity 2021.3.15f1. The headset will show completely dark screen in test mode, again the test view in Unity works fine and headset tracking it working.

So it looks like an issue in sending the video to headset from Unity. Is SteamVR blocking development apps? Given that the older Unity also had issue (it worked before for me), I suspect there is a mismatch in this plugin and new version of SteamVR?

zite commented

Are you getting any errors? Where did you install the plugin from? We're definitely not blocking apps.

I can confirm that this happens. Firstly, I had to symlink libopenvr_api.so, under lib/x64/ on the project's root folder.
As follows:

  • $ mkdir lib
  • $ mkdir lib/x64
  • # ln -s /usr/lib/libopenvr_api.so lib/x64/

This leads to the following error:
[SteamVR Interaction] Failed to get IVRChaperone interface.
IVRChaperone
Same happens under SteamVR Beta. Both output error 203.

Somehow, I'm unable to get past this point at the moment, but just hours ago I was able to...
But even then, no image would be shown on the headset. Same as some other devs state under issue #3. Trying the Vulkan API as suggested on the aforementioned issue leads to the editor crashing, which I suppose to be a whole other can of worms.

On the other hand, there's a pull request that has seemingly fixed other issues #126, regarding user actions. The comment suggests an additional fix, but also remarks that the displays' output is black as well.

Are you getting any errors? Where did you install the plugin from? We're definitely not blocking apps.

I've tried both the release version from here, and the one in the asset store.