- This topic has 7 replies, 4 voices, and was last updated 17 hours, 43 minutes ago by Herbertclark.
- AuthorPosts
- 07/06/2021 at 12:54 #20482Jeroen De mooijParticipant
Hi,
We are trying to configure a unity project (2020.3.3f1) so we can build to either OpenVR for the Vive Eye, or the Pico Neo 2.
When building to Android it failed on OPEN_VR being enabled, which is set in the JSON TobiiXRCore.asmdef file which seems to check if the OpenVR package is installed. Removing the reference “Unity.XR.OpenVR” and the entry “versiondefines” makes it building to Android again. Also it seems to work for the windows build.
But it feels like a hack and is not a stable solution.Anyone got tips how to set up a Unity project for both OpenVR & Pico?
Thanks, Jeroen
07/06/2021 at 16:46 #20489Grant [Tobii]KeymasterHi @jeroen, sorry to hear about your issues however you will be pleased to hear that we have now fixed this issue for the next SDK release in response to you raising the problem, so thanks for the feedback!
In the meantime, what you can do is to update the line
#if OPENVR_ENABLED
to
#if OPENVR_ENABLED && !UNITY_ANDROID
in the scripts ControllerManager.cs and OpenVRControllerAdapter.cs
Furthermore, we do recommend using OpenXR when developing for Vive Pro Eye and newer Unity versions.Do let us know if you have any trouble implementing the proposed workaround unit we roll out the next release. Best Wishes.
08/06/2021 at 13:03 #20498Felix KlotzscheParticipantHi @Grant, thanks for the quick response. I’m working with @Jeroen on this project – trying to make it compatible with the Vive Pro Eye side.
Furthermore, we do recommend using OpenXR when developing for Vive Pro Eye and newer Unity versions.
In your experience, is OpenXR functional and stable enough (esp. in terms of interaction) to cater the Vive Pro already? Most resources I found online (including Valve’s README to their Unity OpenXR plugin), said that for now SteamVR/OpenVR is still required. I’d be happy & thankful if you could point me to resources that explain how to handle everything with OpenXR. Thanks!
08/06/2021 at 13:07 #20499Jeroen De mooijParticipantHi @Grant
Thanks for the quick reply, we will incorporate this quick-fix for now.
Any hints on the next release dates?Cheers,
Jeroen08/06/2021 at 15:32 #20502Grant [Tobii]KeymasterNo release date yet Jeroen, but hopefully very soon, keep checking back on our website for relevant updates.
01/11/2024 at 08:48 #29681HerbertclarkParticipantSetting up a Unity project for Open VR and Pico is a great step! For developers looking to enhance their projects, using sendgrid localization can streamline communication with users and ensure that your messages reach a global audience effectively.
- AuthorPosts
- You must be logged in to reply to this topic.