Search Unity

Custom android plugins with Unity VR

Discussion in 'AR/VR (XR) Discussion' started by dyadica, Oct 18, 2015.

  1. dyadica

    dyadica

    Joined:
    May 12, 2014
    Posts:
    5
    Is it possible to run custom / 3rd party android plugins when deploying to the Gear VR?

    If so can someone point me in the direction as of how to do this. I have several 3rd party plugins that when added to the project in the standard manner result in the deployed app reverting to the oculus home screen.

    Any pointers would be greatly appreciated.

    d
     
    Last edited: Oct 18, 2015
  2. dyadica

    dyadica

    Joined:
    May 12, 2014
    Posts:
    5
    Just in case others are having/have the same problem/question; the answer is yes you can run custom plugins on a gear vr deployment. I managed to run a custom plugin via setting it up so that it didn't extend the UnityPlayerActivity and just called the java class in the same style as the following:

    https://blog.nraboy.com/2014/06/creating-an-android-java-plugin-for-unity3d/

    d