+1 vote
by (130 points)

Hello!

I've been trying to use the new SDK 2.0.4 in unity for the new input system but having some issues. Currently I cannot get the trigger button to work as a button (for selecting UI).

My Test Setup:
Unity 2020.3.30f1
PicoXR Plugin 2.0.4
XR interaction toolkit 2.0.1
New Input system

I used the URP sample scene, added a world canvas with a button on it. Setup the canvas to allow raycast input. I added an XR action based setup with PXR Manager. Added a simple Action map with left and right controllers pose primarybutton input and varrying trigger mappings (XR generic controller, pico specific, trigger press, trigger button, etc multiple mapping attempts).

Test:
Attempting to ray cast select the button. Button does recognize highlight and selection using Oculus via unity editor testing. Then built to Pico Neo 3, highlighting still works but trigger to select does not.

Did another test with just the primary button map as the selection and to just turn on and off a random object in the scene and as "UI Press Action" instead. This works.

Conclusion.
Either I have a mistake somewhere or trigger mappings through the new sdk are not working.

Would greatly appreciate some insight on a working example and settings (input module, mappings, etc of a basic scene to help see if it's a simple mistake I'm making).

Thanks!

3 Answers

0 votes
by (150 points)

我也刚刚遇到同样的问题,PicoXR Plugin 2.0.4,吐槽一下

by (150 points)

用2.0.3没问题

by (130 points)

Is there a way to get 2.0.3 then? I don't see an achieved list of downloads for older versions - only 2.0.4

by (150 points)

I enum the id of the download link, the 2.0.3 is
https://developer.pico-interactive.com/sdk/sdk-download?id=156

0 votes
by (27.7k points)
edited by

Deer developer,
2.0.4 is the new SDK version and needs to work with the new runtime.So maybe your runtime has not been upgraded. You can try to restart the device after confirming the network is connected, the runtime will be updated automatically in a few minutes. You can also try to update to the latest Pui version.
Thanks

by (150 points)

建议SDK做一下兼容适配XR SDK。
对于开发者来说自定义UI或者用其它UI toolkit是难以避免的。
Write once, run anywhere才更实际。

目前我还发现Xray与UI界面按钮的交互也是有兼容问题。无法识别xray与按钮的交互。建议这方面也做一下优化。

0 votes
by (140 points)

我的是用不了 grip 键,创建 Teleportation Area 后,无法使用 grip 键触发传送,但可以用方向柄 turn 转向。

同一项目中,还添加了 Oculus Quest 2 ,在那个上面就没任何问题

by (140 points)

我的环境也是:
Unity 2020.3.30f1
PicoXR Plugin 2.0.4
XR interaction toolkit 2.0.1
New Input system

硬件:Pico Neo 3 工程版
pico 系统已升至最新,包括pui和手柄驱动

by (5.3k points)

你能检测到grip的响应么,是grip按键检测不到还是能检测到grip输入,但传送功能无法使用

...