Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Unity OpenXR Plugin and Pico 4 headset?

Discussion in 'VR' started by joeysipos, Jan 28, 2023.

  1. cecarlsen

    cecarlsen

    Joined:
    Jun 30, 2006
    Posts:
    848
    By "switching" I meant removing "PICO Unity Integration SDK" and installing "PICO Unity OpenXR SDK(Preview)". I don't have both in the same project. The project is empty, there literally is nothing else. And no errors or warnings too.
     
    Last edited: Oct 30, 2023 at 4:57 PM
  2. Viche72

    Viche72

    Joined:
    Jun 14, 2017
    Posts:
    2
    Hi @DevDunk, are there any settings that you set to build and run your application successfully? I have a simple project using Unity 2022.3.0f1 and Pico SDK 2.3.4. While the project builds and installs to the Pico 3, the app crashes on startup. Pico is selected in the XR Plug-in Manager and can't seem to figure out what's causing it to crash. Thanks for any help/tips/guidance.
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    1. Maybe try the latest 2022 version?
    2. Make sure the pico 3 is updated, otherwise it might not work
    3. Make sure the first scene actually has a proper VR setup
    4. Check logs/logcat for errors
     
  4. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    262
    Just tried the new openXR package and there is no PICO interaction profile for PC. The only thing I get is a Menu item that allows me to input a App ID, but I guess this is for a standalone build. I am currently targeting PC, so want PICO to work as a streaming device in SteamVR.

    If I install android build stuff, I can select "PICO 4 touch controller profile" but only in the android section of openXR. :(
     
  5. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    262
    I tried to use the android pico 4 profile to setup the input, and just hope they work on PC. But they are still not recognized as such in the 'devices' of input debugger.

    Strangely enough in my small project they are recognized as index controllers, while in my main project they are recognized as oculus controllers. Removing the index profile from the small project just made them not work at all (even though the oculus profile was also present here). SteamVR does see them as Pico controllers looking at the icon.

    I guess I will just hope they are recognized as something that is configured on player PCs, since they do seem to work when recognized as a different controller.
    I've removed the new pico plugin from my small project and removed the old pico plugin from my main project. This did not affect anything as far as i can tell (not tested in build yet). The main problem for me is that if a Pico user has an issue there is no way for me to fix it, since i rely on steamVR, VR streaming software and openXR magic to make this work.
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    It might depend on if you use the pico in compatibility mode?
     
    Arnold_2013 likes this.
  7. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    262
    Changing the compatibility mode in steamVR controller bindings does change how Unity sees them. I guess the pico profile never did anything for me, it was always SteamVR doing the remapping.
    Thanks, this makes some sense to what was going on.
     
  8. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    Was this inside of steamvr?
    Pico link also has a compatibility mode in it's settings
     
  9. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    262
    Yes, in Streaming assistant I was not in compatibility mode. But when you go SteamVR -> Devices -> Controller settings -> Manage controller bindings -> Edit This Binding ->

    upload_2023-10-10_15-58-44.png

    you get this window, where you can change the controller in options. Changing the value here determined how the Unity -> Analysis -> Input debugger -> Devices -> Controllers

    would show the controllers detected.

    I have not tested this, but I expect this is also what links it to the openXR/inputsystem profile selection.
     
  10. unity_B159A46BF5F15B9376DA

    unity_B159A46BF5F15B9376DA

    Joined:
    Mar 6, 2023
    Posts:
    7

    It looks like when using unity 2022,

    Pico 3/4 must have a version greater than 5 installed.

    The global firmware for Pico 3 Pro is currently version 4.8.

    If you build a build for unity 2021, then everything works.

    But we want to use 2022. Have you solved this problem somehow?