oculus-samples / Unity-TheWorldBeyond

Presence Platform showcase demonstrating usage of Scene, Passthrough, Interaction, Voice, and Spatializer. The Oculus SDK and other supporting material is subject to the Oculus proprietary license. Multiple licenses may apply.
MIT License
321 stars 88 forks source link

Application keeps asking for Room Setup #7

Open rolandsmeenk opened 1 year ago

rolandsmeenk commented 1 year ago

After starting the application it shows a dialog with "Room Setup Complete", I select "Done" and then it shows a dialog with "The World Beyond requires Scene data. Please run Room Setup in Settings."

I've done Room Setup several times. My first room setup was triggered from inside the Meta Spark Player app, but I've also tried from Settings > Experimental Features > Room Setup. I've tried different sizes of room setups and clearing the previous setup, but that makes no difference. I've tried both the app from AppLab and the app built from this GitHub repo and the results are the same.

Coltonchildrey01 commented 1 year ago

@rolandsmeenk could you please let me know what device and OS you are using to do this. OS can be found either in settings>device Info or the Oculus App under settings.

rolandsmeenk commented 1 year ago

Device Meta Quest Pro

Version info seems to be available under Settings > System > Software Update

Software Update System Version 47421700960000000

Version 46.0.0.261.0.415550680

Runtime Version 46.0.0.261.0.415550559

OS Version user-47421700960000000

Coltonchildrey01 commented 1 year ago

@rolandsmeenk Thank you for the quick reply.

Coltonchildrey01 commented 1 year ago

@rolandsmeenk sorry I had thought I gave an update. I also wanted to make sure if you are trying this on Overlink aka pc link. If so room set up does not work overlink at this time. Last known option is to make room set before using overlink

PatMekury commented 1 year ago

You have to configure your room setup before installing the app. Afterwards, uninstall and install the app again.

cob4lt89 commented 1 year ago

I am in the exact same situation. The world beyond launched from the applab execute flawlessly. But when i build it in unity (same version than project), i have the same behavior described by rolandsmeenk. Configuring room setup prior to installation does not solve the issue. I am not using overlink. Strange thing to note is when i launch the scene in unity editor via oculuslink, everything works.

rossstyants commented 1 year ago

I get caught in this loop too - I've already got scene data setup - i've turned the headset off and on and removed and reinstalled the app - but this warning always pops up and then the app quits. Screenshot_50

TheRealFlyingCoder commented 1 year ago

Coming here to say I have the same issue, quest 2 software up to date.

Installed after room setup, still asks for room setup, hit done, throws error.

A note is that I also installed Arkio (another app that uses scene data) and it is also unable to load the room data so it might be that the apps aren't being allowed access?

OatmealInk commented 1 year ago

I found a solution for me.

I had the same issue of the app requesting a room scan despite having one. The fix is to change the Package name. Using the same package name likely triggers a security warning (different keystore using a bundle ID from the AppLab) and prevents you from accessing the data.

Once I used com.oculus.samples.theworldbeyond2 instead of com.oculus.samples.theworldbeyond, it worked fine.

TheRealFlyingCoder commented 1 year ago

Using the same package name likely triggers a security warning

The same issues occur with just a regular installation off the store, so I don't think the key issue is this? It's weird that a rename would fix it though

Coltonchildrey01 commented 1 year ago

Thank you for pointing out the concerns. We are looking into it. I will update once something is found.

sta314 commented 1 year ago

I am having the same problem, any updates?

I had the same issue of the app requesting a room scan despite having one. The fix is to change the Package name.

This unfortunately didn't work for me. I can load the scene over link, but fails on built application.

Coltonchildrey01 commented 1 year ago

Thank you for let us know. I was not able to get the issue. I can say yes changing package name is an option and in the works to be fixed. If you are trying to run in editor over pc link then room set up must be completed prior to launching pc link. Also be aware room capture is not designed to work on pc link.

iiijasdf commented 1 year ago

I'm stuck into the same problem that all run well in editor via Quest link but fail to load scene data in built apk in HMD. Have anyone figured out this problem? PS: the version of my test environment is Meta Quest Pro, Oculus version 53, Unity 2020.3.25f1c1, scene: TheWorldBeyond in Asset folder

davyloots commented 11 months ago

I ran into this as well. It turned out it was a missing permissions problem. Add this line to the AndroidManifest.xml file: <uses-permission android:name="com.oculus.permission.USE_SCENE"/>

iiijasdf commented 11 months ago

Hey davyloots, so glad to see your comment, but I seem to be unable to see the content that you mentioned needs to be added in the AndroidManifest.xml file. Could you please send it again? Thanks!

davyloots commented 11 months ago

iiijasdf, sorry, the brackets hid the line in the comment, I've fixed it. Unfortunately, the issue reappeared for me just now, so it's probably not a full proof solution. But it definitely appears to be a permissions issue. Edit: I noticed that if I delete the space and recreate it, the issue appears to disappear again.

tlightsky commented 8 months ago

have same issue, the add permission and change apk package name not work for me.