10-17-2023 01:20 AM
I cannot access the scene model which I previously captured using Scene Capture. For my test, I have added the table of my PC workstation.
Following the documentation I have added an OculusXRScene actor and configured it.
This has definitely worked, as I can see the box shape representing the table when I hit "play in VR". Also, I can see the SceneMesh which I recorded with the depth scanner on the Quest3.
When I call GetActorsBySemanticLabel and specify "TABLE" as per the semantic label list on the documentation page, I get zero actors.
I am wondering if this is because I use link (for fast testing) but it would surprise me since I can access the scene mesh.
Thanks for any hint!!
Solved! Go to Solution.
02-06-2024 10:54 AM
I am not sure where in the documentation they say that, but if so, it is outdated. You can get the scene mesh using Link and even see it in the PIE output. What you cannot see in the PIE output is the passthrough layer.
11-21-2023 02:19 PM
Hi,
How do you see the scene mesh? I've been trying to preview in when play in VR but I do not see anything.
02-03-2024 12:38 AM
Hi, I'm using scene api in quest3. But scene api doesnt work in built apk, while does work in quest link.
Do you know the reason? Appreciate it!
02-04-2024 03:55 AM
I have not messed with Scene API yet, but common Android/Quest build issue is permissions. Check the Sample project if there is special permissions in the Android settings to copy and maybe even a node to request permissions. Just a shot in the dark guess.
02-05-2024 12:37 PM
Not sure why you are even able to see something when you use preview in VR. It is stated directly in the documentation that the Scene API only works in a packaged APK. I've had no issues using it in a packaged APK
02-06-2024 10:51 AM
Hi,
If you scan the room previously, the scene mesh will be stored locally on your device. You can then get the scene mesh from the OculusXRActor.
02-06-2024 10:52 AM
Hi, are you sure you set up the Project Settings correctly? There is a variable you must set in order for the scene mesh to be supported. Also do not forget to ask for the android permission when you start.
02-06-2024 10:54 AM
I am not sure where in the documentation they say that, but if so, it is outdated. You can get the scene mesh using Link and even see it in the PIE output. What you cannot see in the PIE output is the passthrough layer.
02-06-2024 10:56 AM - edited 02-06-2024 10:57 AM
By the way I have solved the issue: This is not covered in the documentation so I if you run into the same problem, try this: You have to initialize the various components inside the OculusXRSceneActor placed in the level. Otherwise they never get spawned.
By the way, I have created this spatial UI using what I have learned, check it out 🙂
https://youtu.be/3nkdo9VH89w
02-08-2024 10:50 AM
Looks incredible!