Sudden error on Unity OVR Build and Run APK
Working on a game in the App Lab in Unity for months and never had an issue before when uploading to my Quest. Haven't changed/updated/whatever and now when I hit the OVR Build APK and Run It builds the apk and gets up to Installing APK but then gives this error: OVRADBTool avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:sdcardfs:s0 tclass=file permissive=0 System server has no access to read file context u:object_r:sdcardfs:s0 (from path /sdcard/Oculus/Temp/launcher-debug.apk, context u:r:system_server:s0) Error: Unable to open file: /sdcard/Oculus/Temp/launcher-debug.apk Consider using a file under /data/local/tmp/ Error: Can't open file: /sdcard/Oculus/Temp/launcher-debug.apk Exception occurred while executing: java.lang.IllegalArgumentException: Error: Can't open file: /sdcard/Oculus/Temp/launcher-debug.apk at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:461) at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169) at android.os.ShellCommand.exec(ShellCommand.java:108) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22007) at android.os.Binder.shellCommand(Binder.java:881) at android.os.Binder.onTransact(Binder.java:765) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4896) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4071) at android.os.Binder.execTransactInternal(Binder.java:1021) at android.os.Binder.execTransact(Binder.java:994) UnityEngine.Debug:LogError(Object) OVRADBTool:RunCommand(String[], WaitingProcessToExitCallback, String&, String&) (at Assets/Oculus/VR/Editor/OVRADBTool.cs:204) OculusBuildApp:DeployAPK() (at Assets/Oculus/VR/Editor/OVRBuild.cs:576) OculusBuildApp:OVRBuildRun() (at Assets/Oculus/VR/Editor/OVRBuild.cs:353) <>c:<StartBuildAndRun>b__29_0() (at Assets/Oculus/VR/Editor/OVRBuild.cs:283) System.Threading.ThreadHelper:ThreadStart() I tried the solution from huebreeze - https://forums.oculusvr.com/t5/Unity-Development/Quest-2-Unity-Issue-with-OVR-Scene-Quick-Preview/td-p/834719/page/2 but no go (code is on different line) Any help would be appreciated. Can't advance without be able to run. ThanksSolved3.5KViews1like1Comment