oculus-samples / Unreal-PassthroughSample

This Unreal sample demonstrates the Passthrough functionality provided by Meta Quest headsets.The Oculus SDK and other supporting material is subject to the Oculus proprietary license.
Other
30 stars 11 forks source link

Passthrough effect drift from mesh #5

Closed HeberRyan closed 7 months ago

HeberRyan commented 7 months ago

Passthrough Image drift from mesh Has anyone encountered this kind of situation? Need help, Any help will be appreciated!

Thanks guys!

wangpingsx commented 7 months ago

Hi HeberRyan, Thank you for utilizing the passthrough feature. It's unfortunate to hear that the passthrough window isn't functioning as expected.

Regrettably, without access to your project, it's challenging to provide specific suggestions for a resolution. However, I recommend trying our sample project as an alternative approach:

  1. If you're utilizing Epic Unreal Engine, please ensure you're using version 5.3.2 as it is the recommended version.
  2. Make sure you have downloaded and installed the latest Meta XR Plugin from the following link: https://developer.oculus.com/downloads/package/unreal-engine-5-integration
    1. Try this map: https://github.com/oculus-samples/Unreal-PassthroughSample/blob/main/Content/Passthrough/Maps/PTSurfaceProjected.umap
    2. Additionally, we offer a straightforward step-by-step guide which I highly recommend trying out: https://developer.oculus.com/documentation/unreal/unreal-passthrough-window-tutorial/

Feel free to explore these resources, and hopefully, they will assist you in resolving the issue with the passthrough feature.

Best regards, Peter

HeberRyan commented 7 months ago

Hi Peter

Thanks for your reply!

I found out the problem was due to my pawn. I've reset Orientation and Position in player pawn in BeginPlay and forgot it.

BTW, I also wanna know why the plane mesh from the Engine doesn't work in the passthrough window but the plane from the sample worked (by adding the static mesh component to Oculus XRPassthrough Layer). what's the difference between the engine plane and the passthrough sample plane?

Best Ryan

HeberRyan commented 6 months ago

Found it! These two Mesh differences are in the Static Mesh detail setting - Advanced - Allow CPUAccess!