Search Unity

Unable to access UnityPlayer in Development build.

Discussion in 'Android' started by tonyhan, Dec 20, 2018.

  1. tonyhan

    tonyhan

    Joined:
    Dec 29, 2015
    Posts:
    12
    there is a java file in my project.And it works well in Unity2018.2.18, it also works well in unity2018.3 ,normal build .But if I choose development build ,there is an error point to this line:
    import com.unity3d.player.UnityPlayer;
    and says Unable to access UnityPlayer
     
  2. tonyhan

    tonyhan

    Joined:
    Dec 29, 2015
    Posts:
    12
    Solved.Run it in editor mode for one time .