r/oculusdev • u/IamDroBro • Jan 12 '23
please help me enabling passthrough in Unity
I’ve looked at every guide imaginable to get passthrough set up in my unity editor, but can’t for the life of me get it to work. I’ve got scripting backend set to IL2CPP, ARM64 is checked, I’ve imported the latest oculus interaction sdk, It’s set up to build for android, I have “oculus” checked under ‘Xr plugin management’, I’ve got “set OVRPlugin to OpenXR” checked, I’ve set clear flags to “solid color” and made the background black with 0 alpha in my camera, I’ve checked “enable passthrough” in both spots within OVRCameraRig as well as experimental features, I’ve added an OVR passthrough layer script component to the OVRCameraRig, and yet I still get a black screen where passthrough should be. The only other things I can think of are the fact that I don’t have an oculus developer account, or that I’m doing this all over airlink via steamvr …would that affect it? Any insight at all is greatly appreciated
View all comments
Show parent comment
1
u/IamDroBro Feb 21 '24
I was using the old oculus interaction asset in unity for the comment above. I haven’t had a chance to try out the new meta core SDK since I’m afraid it’ll undo a lot of the setup in my current project, but plan on trying it out soon in my next project. In the old version, you make sure that “meta pass through capabilities” is checked in project settings, and then there are a few more pass through related checkboxes that need to be ticked in the OVR camera rig. For context, I could never get pass through to work in-preview using just open XR…I always had to use the OVR stuff (which sucks because I also just wanted the cross platform capabilities from unity XR and didn’t really need any meta-specific stuff)
Apologies though, as I’m sure this doesn’t help a whole lot for your specific issue :(