Jump to content

Vive Cosmos Controller OpenXR Feature for Unity


Dario
 Share

Recommended Posts

OK, after installing com_htc_vive.openxr-1.0.1.tgz, all the input bindings are working. In previous versions I had to add brackets and use unnatural names but this version works, thanks so much.

Left shoulder button was not working at first but started working, I don't know why. Also tracking sometimes does not work for some reason. But basically all are working.

Edited by TakashiWatanabe
Link to comment
Share on other sites

I've found shoulder button on left does not work most of the time, the same on the right works no problem.

I tried to bind,

<XRController>{LeftHand}/shoulderPressed

and

<ViveCosmosController>{LeftHand}/shoulderPressed

 But none of these works. Binding another button even the shoulder button on the right hand controller works no problem.

It worked once when I tried this;

<ViveCosmosController>/shoulderPressed

But the script was receiving 2 events per one press.

v1.thumb.png.5fb0e638770651d1409c54200e739ed9.pngv2.thumb.png.cba4bb30ab2a51154bcf04447af0e7ce.pngv3.png.7293297a7ad18eb12289bfe1ec5b2df0.png

Link to comment
Share on other sites

If I start unity editor and use only left controller, the button works. But as soon I switch on the right controller, the left shoulder button stops sending events. 

This behaviour is only for the left shoulder button. All others work without a problem.

 

Edited by TakashiWatanabe
Link to comment
Share on other sites

  • 1 month later...

Hi guys,

I am using the VIVE OpenXR Plugin version 1.0.1 which works great in the editor. 

But when I am trying to build the application I got the following errors:

Library\PackageCache\com.unity.localization@1.0.5\Runtime\Property Variants\Tracked Objects\JsonSerializerTrackedObject.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.localization@1.0.5\Runtime\Property Variants\Tracked Objects\JsonSerializerTrackedObject.cs(224,80): error CS0246: The type or namespace name 'JObject' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.localization@1.0.5\Runtime\Property Variants\Tracked Objects\JsonSerializerTrackedObject.cs(250,24): error CS0246: The type or namespace name 'JObject' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.localization@1.0.5\Runtime\Property Variants\Tracked Objects\JsonSerializerTrackedObject.cs(336,65): error CS0246: The type or namespace name 'JContainer' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.localization@1.0.5\Runtime\Property Variants\Tracked Objects\JsonSerializerTrackedObject.cs(336,25): error CS0246: The type or namespace name 'JToken' could not be found (are you missing a using directive or an assembly reference?)

I have the localization package from Unity included. Once I remove the VIVE OpenXR package, the error is gone and I am able to build but of course without Cosmos controller support.

Do you have any idea if this is something you guys can fix in the package?

Best regards,

Daniel

 

Edited by DP007
Link to comment
Share on other sites

Hello,

Any update on this issue. 
Even in Unity 2021 LTS and Open XR 1.3.1 there is no support for Vive Cosmos Controller.
When will this problem be fixed, or how to fix it? 

spacer.png

Link to comment
Share on other sites

  • 1 month later...

I use vive focus 3 +unity 2020.3 +openxr to release PC VR programs. Using vive business streaming, it is found that the angle of the handle in vive focus 3 is always a fixed angle different from that in the program, as if the difference between the handle of focus and the handle of vive cosmos is just about 45 degree,How can I make it  to the right angle

Link to comment
Share on other sites

  • 1 month later...

Hi, 

I Installed com_htc_vive.openxr-1.0.1 to use the Cosmos Controller. But after I installed the plugin via the Package Manager the build is not fully working. It seems the Plugins folder is missing in the build. If I remove the com_htc_vive.openxr-1.0.1 everything is fine. Has someone an idea why the plugin caused such a problem and how to fix this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...