Jump to content

Direct preview doesn't preview in the Focus 3 headset .... only in the Editor window.


Wazir

Recommended Posts

28 minutes ago, vethetheth said:

Sure. When moving the camera in the editor, it does work in the headset. But the headset is not moving on his own, and each eye has a different image of the scene. I tried using those 4 different cameras :

image.png.76b8eb5aab5f4e3f43129bdd91e9a029.png

I tried using 2019, 2020 and 2021 version

image.thumb.png.58e1ed359bccd3cb547185c519b99448.png

every parameter has been  tried in wi-fi

WaveXR is ticked on PC and Android platform

directpreview is enabled

Apk has been installed, removed and reinstalled multiple time

It would be really helpful if you help me find the solution.

Thanks in advance

HTCLinkTest.zip 9.72 MB · 1 download

okay, so this is what I did to make it work based on your provided project.
1. Switch the platform to Android.
2. Use Wave Rig from Wave XR Plugin - essence / Runtime/prefab
3. delete the main camera.
4. Start device APK (assume you have already installed)
5. USB/WIFI should both to send in HMD poses

image.png.73607168feb23b3f25e36f53c977fefc.png

Link to comment
Share on other sites

Thanks for your answer. Sadly, I was and still is in Android when i test my game. I have the same problem. When turning my head, i can see black borders all around the scene i have in front of me. I can't show you on the recorder, because it got the unity screen instead of the whole HMD... I hope it can help (I am on the vive focus 3)

image.png.058bba12aaae9fb9610d4ea5f06486a2.png

Link to comment
Share on other sites

9 minutes ago, chengnay said:

Hi @vethetheth,

I think I got the same result as yours.

Get back to you ASAP when I find the root cause, thanks!

Awesome, thanks a lot for the answers ! I tried it with another headset, the result is the same. I hope it is not my PC that breaks it...

Link to comment
Share on other sites

Hi @vethetheth,

Could you try below environment setup?

1. Downgrade your Unity version to 2019.4.xx

2. Upgrade the Wave SDK to latest version(4.5.0-r.3)

 

I just tested with Unity 2019.4.28f1(ControllerTipsTest scene), Wave SDK 4.5.0-r.3 and DirectPreview(HMD+Controller) works fine.

I also tested with VIU's sample scene(UGUI), you MUST turn off your controllers, if not, you cannot move your head.

Let me know if you problem still exists, thanks!

 

UPDATE:

I found a quick temporary solution to above issue regarding VIU's sample scene,

You need to modify in Assets\HTC.UnityPlugin\VRModule\Modules\WaveVRModule.cs,

line 76, #if VIU_WAVEXR_ESSENCE_CONTROLLER_MODEL && !UNITY_EDITOR

If you install VIU using Package Manager, you NEED to copy to Packages folder.

image.png.efc13f19ac10e41c9fdd3d36ae9141bb.png

I tested your project(HTCLinkTest), it can run with the above temporary solution.

Link to comment
Share on other sites

21 hours ago, chengnay said:

Hi @vethetheth,

Could you try below environment setup?

1. Downgrade your Unity version to 2019.4.xx

2. Upgrade the Wave SDK to latest version(4.5.0-r.3)

 

I just tested with Unity 2019.4.28f1(ControllerTipsTest scene), Wave SDK 4.5.0-r.3 and DirectPreview(HMD+Controller) works fine.

I also tested with VIU's sample scene(UGUI), you MUST turn off your controllers, if not, you cannot move your head.

Let me know if you problem still exists, thanks!

 

UPDATE:

I found a quick temporary solution to above issue regarding VIU's sample scene,

You need to modify in Assets\HTC.UnityPlugin\VRModule\Modules\WaveVRModule.cs,

line 76, #if VIU_WAVEXR_ESSENCE_CONTROLLER_MODEL && !UNITY_EDITOR

If you install VIU using Package Manager, you NEED to copy to Packages folder.

image.png.efc13f19ac10e41c9fdd3d36ae9141bb.png

I tested your project(HTCLinkTest), it can run with the above temporary solution.

Hi, I just tested it on a whole new project, and i still have the same problem in 2019.4.39f, updated wave SDK and i didnt touch the controllers for 10 minutes for both scenes

Result is the same, static images, duplicated on each eye 😞

It might be my hardware that breaks it ? I  tried it on two headsets...

Can you please show me, or @Dario how can I setup the vive business streaming to see what is hapenning on play mode? It would greatly help me
Thanks

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
×
×
  • Create New...