Search Unity

Build failure: Error unpacking file ovrplugin.aar

Discussion in 'AR/VR (XR) Discussion' started by Rondarmagon, Jul 28, 2016.

  1. Rondarmagon

    Rondarmagon

    Joined:
    Jun 18, 2016
    Posts:
    1
    Hi everybody.

    Did anybody face that error while building the project?

    I faced that Error while Android build project for GearVR and actually I don't know what to do now. With same settings I can build my another project but not that one.
     

    Attached Files:

    • 001.png
      001.png
      File size:
      38.9 KB
      Views:
      956
    Last edited: Jul 28, 2016
  2. pixelsnow

    pixelsnow

    Joined:
    Apr 27, 2017
    Posts:
    1
    Hi,

    I know it's been quite a while and the chances are you won't see this, but did you solve the issue back then? I'm having the same problem and can't figure out what has gone wrong.
     
  3. greggtwep16

    greggtwep16

    Joined:
    Aug 17, 2012
    Posts:
    1,546
    I would check to see if your ovrplugin.aar from the editor isn't corrupt. It's location depends on what OS you are using but usually under the install location of the editor under the data folder and then vr. The .aar file is the native plugin for android. If you copy this file somewhere (lets say to your desktop) and then change the extension to .zip can you see the contents inside ok? The error sounds like something went wrong with the file.