oculus-samples / Unity-DepthAPI

Examples of using Depth API for real-time, dynamic occlusions
Other
167 stars 24 forks source link

Missing prefabs #22

Closed brentjohnston closed 5 months ago

brentjohnston commented 5 months ago

The git clone was successful but when I open the scenes I have missing prefabs and these errors. I am using Unity 2022.3.17f1, the newest meta xr all in one sdk, and https://github.com/oculus-samples/Unity-StarterSamples which all of those demo scenes work. I tried passthrough example in the editor and it works also, I wanted to import this depth api to try it out but has errors and a missing Sceneswitcher prefab: error

TudorJude commented 5 months ago

The prefab is there, something seems to have gone wrong when you cloned it. Could you try closing, deleting Library folder and reopening. If that doesn't work, try recloning.

brentjohnston commented 5 months ago

git

Yes I tried deleting it and clone again but same missing prefab and errors.

Edit: Here is project without the depth api imported after I delete it unityproject

Edit: Forgot to delete Library folder, will try that now and report back.

brentjohnston commented 5 months ago

I deleted library folder and depth api again, recloned with lfs when it starts the loading on the unity splashscreen screen I get this whenenever depth api is cloned and present. It doesn't do the error if I delete it. startuperror Could it be because I just chose the basic Unity 3D starting template before bringing in the Meta xr all in one sdk and the Unity starter samples github? That all worked fine but not sure if there's something else I did wrong.

Edit: Is there a change your LFS storage bandwidth is used up?

TudorJude commented 5 months ago

I'm a bit confused. I just looked at the first screenshot in this thread. What project is that? That doesn't look like the depth API sample project.

brentjohnston commented 5 months ago

Sorry I was confused also, I had the occlusiontoggler one open just when taking screenshot, is this the right one? All of the sample scenes I do in the depth api samples do this. errors

The only time those errors at the bottom go away is when I delete the Unity-DepthApi folder

brentjohnston commented 5 months ago

I just double clicked the Perobjectocclusion scene and this shows up, is this not familiar? I'm not sure what I am looking at either. Is it possible the Oculus Starter Samples is conflicting? https://github.com/oculus-samples/Unity-StarterSamples

scene

and here is double click handsremoval scene

handsremovalscene

TudorJude commented 5 months ago

To me it looks like you have the DepthAPI sample project within another project. image

brentjohnston commented 5 months ago

Ahh, I don't know why I had assumed to git clone it to my project assets folder. Didn't realize it was an entire unity project. My fault, thanks for your help.

Edit: I was checking main repo page, I would maybe mention on the that this is an entire unity project, because it's easy to assume it's like the Meta all-in-one sdk or the starter pack. Just so nobody else gets confused like myself.