Search Issue Tracker

Not Reproducible

Votes

9

Found in

2018.3.0a1

2018.3.0b10

Issue ID

1101174

Regression

Yes

[Android] Building fails with UnauthorizedAccessException for OVRPlugin.aar after upgrading the Oculus Utilities package

XR SDK

-

Steps to reproduce:
1. Open user attached project
2. Build the project
3. Notice that build fails with: "UnauthorizedAccessException: Access to the path "Assets\Oculus\VR\Plugins\1.31.0\Android\OVRPlugin.aar" or "Temp\StagingArea\aar\OVRPlugin.aar" is denied." and it's falsely outputted that it Succeeded

Expected result: building on Android should not fail with UnauthorizedAccessException for OVRPlugin.aar after upgrading the Oculus Utilities package

Reproduced in: 2019.1.0a12, 2018.3.0f1, 2018.3.0a1
Not reproduced in: 2018.2.19f1
Regression since: 2018.3.0a1

Comments (3)

  1. yankohurta

    Jan 20, 2019 00:39

    No matter if you're upgrading... Brand new Unity and Oculus Plugin (1.28, 1.31, 1.32, whatever) installation. Just create ANY project with a custom scene and a timeline. Build in 2018.* fails with the SAME ridiculous error. Temp folder is managed by Unity, and error happens 'cause ALL files and directories UNDER Temp are READ ONLY! Tried to mess with permissions and even ownership... Nothing happened. Shame on Unity and Oculus for this weak partnership. Unfortunately, Oculus Go was a test bench for Quest. Weird dev platform EVER.

  2. edenizxyz

    Dec 26, 2018 13:23

    I was also encountering this problem. I had OVRPlugin.aar from oculus integration also I realize that oculus android package is enabled in the package manager. After removing oculus from package manager this error disappeared and project builds. But now I am having weird problems with the application which might not be related to this.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.