Forum Discussion
acr0mer
2 years agoExplorer
Disable guardian at runtime in Mixed Reality Apps (Unreal)
Hi, as you know we don't need guardian any more with mixed reality
While looking for a solution for this I found this code under unity topic
<uses-feature android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP" android:required="true" />
They just adding this to AndroidManifest.xml for unity
Problem is Unreal documention say "You should never edit the AndroidManifest.xml file under any circumstances. Any edits that need to be made to the AndroidManifest.xml file should be done inside the UE Editor in the Advanced APK Packing section."
I couldn't figure out how to add the code to that section.
when i add as a extra setting (code line) i couldnt build it i can try as a tag but i dont know how does it work
any idea would help
1. go to project\build\Android\, add a empty new file "ManifestRequirementsOverride.txt", add the line
<uses-feature android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP" android:required="true" />2. build the package and install it into headset.
3. when you open the app, it will give you some tips about no guardian.
7 Replies
Replies have been turned off for this discussion
- swang81Member
1. go to project\build\Android\, add a empty new file "ManifestRequirementsOverride.txt", add the line
<uses-feature android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP" android:required="true" />2. build the package and install it into headset.
3. when you open the app, it will give you some tips about no guardian.
- acr0merExplorer
I can't thank you enough This answer is very valuable to me. 🙏
- dts.entrenamientoHonored Guest
Hello! I tried using your solution but my app won't open. Can you still use this functionality now?
- MetaStoreHelpCommunity Manager
Hi dts.entrenamiento
Thank you for sharing your experience with us ! We understand that you are having issues with using one of your apps. In order to receive the best help in your situation, you should contact our Developer Support Team, they will be more than happy to assist you with the issue you are encountering!
If you need further help, please don't hesitate to reach back out to us!
Keep the conversation going, we love to see the support within our Community! 🙂
- kennard-consultingExpert Protege
Please give this Feature Request a bump: https://communityforums.atmeta.com/t5/Ideas/Allow-apps-to-disable-boundary-CONTEXTUAL-BOUNDARYLESS-APP/idi-p/1166852
- kennard-consultingExpert Protege
Definitely. I have two apps in the Meta Store (PozeAR and SprintAR) using this feature.
- SandmanLolMember
The accepted solution here involving ManifestRequirementsOverride.txt causes my MR Template app to crash on launch.
Luckily, I found that I can just turn on these two checkboxes to do this.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 12 days ago
- 4 months ago