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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.
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.
notdococ
Dec 15, 2018 04:18
Workaround: https://forum.unity.com/threads/solved-cant-make-android-build-access-to-ovrplugin-aar-denied.505856/