steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

Is Unity 2021 supported?

Open WolfoDev opened this issue 4 years ago • 7 comments

According to the latest release description, the SteamVR package supports Unity's OpenXR Plugin for Unity 2020.1+, so I tried to check if it would work for Unity 2021 and this is what can be seen after hitting the play button:

image

In the headset one eye would be gray with stretched editor icons and the other eye would be completely black.

Does SteamVR officially not support Unity 2021? My objective is mainly to achieve point light shadows with URP in VR, is there any other solution to make this work eventually?

WolfoDev avatar Mar 19 '21 20:03 WolfoDev

The plugin supports 2020 and its minor releases.

Our current and future efforts are focused on OpenXR: https://steamcommunity.com/games/250820/announcements/detail/2522527900755718764

So would recommend using Unity's OpenXR plugin instead in 2021:

https://forum.unity.com/threads/unity-support-for-openxr-in-preview.1023613/

1runeberg avatar Mar 19 '21 21:03 1runeberg

@1runeberg Does that mean there is work on the way to make SteamVR compatible with Unity 2021?

Also if I were to switch VR renderer, would I still be able to use SteamVR's input?

WolfoDev avatar Mar 22 '21 11:03 WolfoDev

@Wolfoso SteamVR is now OpenXR conformant. So you should use Unity's OpenXR plugin with Unity 2021: https://forum.unity.com/threads/unity-support-for-openxr-in-preview.1023613/

This means using Unity's OpenXR plugin, your application will work with the SteamVR runtime including using Index Controllers.

OpenXR input is also very similar to SteamVR Input, but if there's anything in SteamVR Input in particular that you need and not seeing, please let us know.

1runeberg avatar Mar 22 '21 18:03 1runeberg

@1runeberg The last time I checked I couldn't get pogo pin input from Vive trackers in OpenXR. Is this still the case? If so I'd like to see this functionality added! :)

nocanwin avatar Mar 24 '21 01:03 nocanwin

Thanks for the feedback @nocanwin! Will poke HTC. But highly suggest to also put this forward to them directly as they are in a better position in this instance to push something through the standards body which we can then implement in SteamVR :)

Direct dev/customer feedback is always useful :)

1runeberg avatar Mar 24 '21 06:03 1runeberg

@1runeberg I posted on the Vive developer forum and it sounds like they're working on support.

nocanwin avatar Mar 26 '21 22:03 nocanwin

I am using SteamVR 2.7.3 with MRTK 2.6.1 (XR SDK) on Unity 2021.1.4 and it seems fine. Tested with HTC Vive.

Though OpenXR is the future, we should have at least some level of support for newer versions of Unity.

eusebiu avatar May 05 '21 07:05 eusebiu