ViveSoftware / VIVE-OpenXR-Unity

Other
26 stars 8 forks source link

No GetDeviceLayoutName() override detected #4

Closed lukefanning closed 3 months ago

lukefanning commented 6 months ago

Hi, since Unity OpenXR Plugin v1.9.1 (2023-10-19), they added a couple of new API functions for controller profiles the first of which, GetDeviceLayoutName() if not overridden results in a warning when loading up a project and when running it in Play mode/Standalone.

i.e.

No GetDeviceLayoutName() override detected in HTC Vive Cosmos Controller Support. Binding path validator for this interaction profile is not as effective. To fix, add GetDeviceLayoutName and GetInteractionProfileType override in this profile.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

I tried upgrading to v2.2.0 for the VIVE Wave OpenXR Plugin but all of the profiles still have not implemented GetDeviceLayoutName() (I'm on v1.0.4). It would be great if they could all be updated.

Thanks

dfischer23 commented 4 months ago

I second this; my Console is always filled with these warnings (about VIVE Focus 3 Controller, VIVE XR Hand Interaction, VIVE XR Wrist Tracker and VIVE XR Tracker (Beta))

babelism commented 3 months ago

Thank you. We will provide the GetInteractionProfileType() and GetDeviceLayoutName() overrides in next release. (2.5)

anonymous2585 commented 3 weeks ago

@babelism Please don't close issue when not fixed in the repo! I was about to report this, creating a duplicate, because I didn't see this closed issue...