Skip to main content
New Participant
November 2, 2024

No scene mesh when building in .apk, mixed reality

Greetings. When using Meta XR all-in-one SDK v69.0.0.0 and “Scene mesh” block and working with the project within passthrough (i.e. it is MR project) using quest link, it works properly and generates space mesh, but when trying to build a project for android, i.e. .apk scene mesh stops working and generating mesh. How can this be fixed? I need it to work specifically with .apk.

Unity version: 2022.3.44f1

I’m using oculus quest 3.

Thanks

2 replies

Sandstedt
Inspiring
November 2, 2024

Do you have the correct permission to access spatial data in the Android manifest?

Read more here: https://developers.meta.com/horizon/documentation/unity/unity-spatial-anchors-persist-content#prerequisites


Also worth to note, if you have published the app in a closed state on the store and you haven't filled in all necessary data, there might be some trust issue between your app and Meta. Experiencing this now. So it works when first installing the app. Then it stops after a while. So then I need to reinstall the app from Horizon Store.

Read more here: https://developers.meta.com/horizon/documentation/unity/unity-ssa-ts#app-is-untrusted

Unity XR Developer
krl76Author
New Participant
November 3, 2024

Yes, I checked, I have permission to access spatial data in the Android manifest. Loaded the console inside my app and checked this as well, no errors on this topic. Is there any other ways to troubleshoot this?