Skip to main content
Participant
October 13, 2020

Quest 2 - Unity - Issue with OVR Scene Quick Preview

Hello,

I am trying to run the OVR Scene Quick Preview on the Quest 2 for my Unity game. While it works perfectly on Quest 1, on Quest 2 this is what happens:

1) Build and Deploy App works fine, it runs the OVR Transition Scene on Quest 2 (Black screen with floating white windows saying "Failed to Get Scene Info Data"
2) When I try to do Build And Deploy Scenes, I get this error:

Log
Building and deploying transition APK  . . . Success!
Building scene bundles . . . 
Deploying scene bundles to device . . . 
Failed!
adb: error: failed to stat remote object '/sdcard/Android/data/com.my.vrgame/cache/scenes/OVRMasterBundle': No such file or directory

and it doesn't run.

I have allowed for the data permission on Quest 2. Suggestions?
This topic has been closed for replies.

24 replies

Participant
October 22, 2020
i figured it out. The original quest was built of of a version of Android 7.1, but the Quest 2 is Android 10, which requires API Level 29. After updating my API I was able to successfully load an apk
Participant
October 28, 2020
Same issue here. 


Webbstre said:

i figured it out. The original quest was built of of a version of Android 7.1, but the Quest 2 is Android 10, which requires API Level 29. After updating my API I was able to successfully load an apk


I have unity set to to API level 29. still same issue :/

Building scene bundles . . . 
Deploying scene bundles to device . . . 
Failed!
adb: error: failed to stat remote object '/sdcard/Android/data/com.DefaultCompany.Again1/cache/scenes/OVRMasterBundle': No such file or directory

Participant
November 1, 2020
I have realized that the correct APK allows me to Build and Run, but the whole Test Scene loading still fails. Oopsies
Participant
November 7, 2020
Anyone from Oculus looking into this?
New Participant
November 11, 2020
I am having the same issue ....
Deploying scene bundles to device . . . 
Failed!
adb: error: failed to stat remote object '/sdcard/Android/data/com.VP.newvrgame/cache/scenes/OVRMasterBundle': No such file or directory

I asked Oculus support ... no solutions from them.  I sent it as "Report a Bug" in ODH, no response yet. 
I have tried making changes to OVRBundleManager.cs and OVRBundleTool.cs  I have transferred files from OVRAssetBundles and OVRTransitionscene.unity to Quest2.  Tried API level 28, 29 and 30. Tried the regular Build and Run in "File" instead of OVR Scene Quick Review.  NO luck yet.

Seriously, anyone in Oculus aka Facebook trying to get a solution for us? Who else to ask?
What else can we do?
New Participant
November 21, 2020
I finally took the following steps and made it deploy to my VR headset since both OVR Build APK and Run as well as OVR Scene Quick Review did not work for me on Quest 2.
1. In Unity: File - Build Settings - Export Project - Export - by saving in a folder.  It builds a Gradle project in that folder
2. In Android Studio: import the Gradle project pointing to the folder above
3. In Android Studio: while keeping the VR device connected to the computer, Build - Build APK. After that is complete then Hit the play button next to the device - It goes thru' Gradle Build Running
4.  Go to your VR device and it should show up in Applications - Unknown sources.
 Good Luck.
New Participant
November 25, 2020
Please help us with this, Oculus. The radio silence is deafening.
New Participant
December 1, 2020
Are others who experience this issue on windows insider rings? 

I'm close to trying a complete Windows install to try and fix this issue.
January 2, 2021
I found the issue!

In Assets/Oculus/VR/Editor/OVRBundleManager.cs, on line 453 it detects that no bundle has been previously deployed by comparing the error message to the string "does not exist". But as reported in the OP the error message is "No such file or directory".

I changed line 453 to instead read:
if (output.Contains("does not exist") || output.Contains("No such file or directory"))

And now it works!
New Participant
March 12, 2021

This worked for me, for both the "OVR Scene Quick Preview" and ADB problems. Give him some praise. Thank you Anonymous 
---
If the issue is resolved for you, for the next step, you might want to open the ASSETS>Oculus>VR>Scenes>controllerModels.unity from you project manager (inside unity) it show the controller (without hand)

New Participant
January 12, 2021


huebreeze said:

I found the issue!

In Assets/Oculus/VR/Editor/OVRBundleManager.cs, on line 453 it detects that no bundle has been previously deployed by comparing the error message to the string "does not exist". But as reported in the OP the error message is "No such file or directory".

I changed line 453 to instead read:
if (output.Contains("does not exist") || output.Contains("No such file or directory"))

And now it works!


Hue! Champion!!! Totally easy fix. Thanks.