Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

looks like new SteamVR no longer works with Unity #1078

Open
drnkf opened this issue Dec 28, 2022 · 2 comments
Open

looks like new SteamVR no longer works with Unity #1078

drnkf opened this issue Dec 28, 2022 · 2 comments
Labels
Needs more information This issue needs more information before we can handle it

Comments

@drnkf
Copy link

drnkf commented Dec 28, 2022

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
Copy link
Collaborator

zite commented Feb 7, 2023

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

@zite zite added the Needs more information This issue needs more information before we can handle it label Feb 7, 2023
@rainydaysavings
Copy link

rainydaysavings commented Feb 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs more information This issue needs more information before we can handle it
Projects
None yet
Development

No branches or pull requests

3 participants