Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application keeps asking for Room Setup #7

Open
rolandsmeenk opened this issue Nov 29, 2022 · 18 comments
Open

Application keeps asking for Room Setup #7

rolandsmeenk opened this issue Nov 29, 2022 · 18 comments

Comments

@rolandsmeenk
Copy link

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
Copy link

@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
Copy link
Author

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
Copy link

@rolandsmeenk Thank you for the quick reply.

@Coltonchildrey01
Copy link

@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
Copy link

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

@cob4lt89
Copy link

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
Copy link

rossstyants commented Jan 12, 2023

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
Copy link

TheRealFlyingCoder commented Jan 15, 2023

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
Copy link

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
Copy link

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
Copy link

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

@sta314
Copy link

sta314 commented Feb 24, 2023

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
Copy link

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
Copy link

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
Copy link

davyloots commented Oct 15, 2023

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
Copy link

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
Copy link

davyloots commented Oct 15, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests