0 votes
by (140 points)

Hi all!
I followed the indications in https://sdk.picovr.com/docs/XRPlatformSDK/Unity/en/chapter_eight.html#passthrough but all I see is 2 squares, even after I give permission to use the camera.

Even this one is not working for me...
https://github.com/picoxr/access-g2-4ke-front-camera-UnityXR

The only one working is this one, but I doesn't have the Unity Project.

https://github.com/picoxr/Android_Native_Get_See_Through_Demo

Does any one have a unity project sample that works with the passthough? I want to use it as background.

Best regards :D

1 Answer

0 votes
by (38.0k points)

Dear developer,
Could you please tell us what is the SDK version you are using and the PUI version?
And have you try to click the Confirm key on the HMD to acquire camera images?

by (140 points)

Hello!

I didn't set up the project myself. I used this sample from the github repo:
https://github.com/picoxr/access-g2-4ke-front-camera-UnityXR

My Unity Version is 2019.4.39f1

"And have you try to click the Confirm key on the HMD to acquire camera images?"

Whenever I open the App, I press "Allow".

Best regards.

by (38.0k points)

Dear developer,
Could you please whether the device model you use is G2 4K or another model?
If is G2 4K, sorry, PassThrough and See-Through function only supports Neo2 and Neo3 series.

by (140 points)

I have the pico neo 2, but I cannot put the sample to work. Do you have any other sample projects I can test?

Best regards!

by (38.0k points)

Dear developer,
Here are the test project and apk. please try it to see if it works on your Neo 2 device.
In addition, have you turned Movement Tracking on in the Settings? If not, please try open it to see if the passthrough function works.

https://drive.google.com/file/d/1RgS_yn8vZDsBPv_jtE36sJpkByZY_-o-/view?usp=sharing

by (140 points)

Hello,

I have Movement Tracking enabled on settings. I have turned it off and on again. Thanks for the project. I tried it and it only shows me a white cube and 2 white squares, basically I cannot use the passthrough...

Best regards.

by (38.0k points)

Dear developer,
Sorry, I didn't explain how to use it.
Plaese try to press the Confirm key on the HMD of the Neo 2 to acquire camera images after entering the scene.
Also, if the PUI of neo 2 is not the latest version, please try to upgrade.

by (140 points)

Hello! I tried the Confirm key, and also tried all other keys in HMD and the controllers. The PUI is in the latest version.
Still it doesn't work :/
Maybe it's the Confirm key that is not working, can you set the project to maybe trigger with X or Y button in the left controller?
That's really the only thing I'm remembering at the moment.

Best regards

by (38.0k points)

Dear developer,
We tested the APK in the link below and it worked fine on neo 2 and the PUI version is 4.1.3.
Could you please tell us what is your PUI version?
https://drive.google.com/file/d/1RgS_yn8vZDsBPv_jtE36sJpkByZY_-o-/view?usp=sharing

Please try restarting the device or restoring factory Settings, and then installing the test apk to see if it works.
enter image description here
In addition,you could change the function key by modifying the following code:
enter image description here
For example: Change to the Trigger button on the right controller.

 private bool isDone;
        void Update()
        {
            //if (UnityEngine.Input.GetKey(KeyCode.JoystickButton0))
            //{
            //    DrawTexture();
            //}
            if(InputDevices.GetDeviceAtXRNode(XRNode.RightHand).TryGetFeatureValue(CommonUsages.triggerButton,out isDone)&&isDone)
            {
                DrawTexture();
            }
        }

enter image description here

...