I’d like to run the Astro Dude demo from the Asset Store, whose description states: “While designed for Xperia Play, this game is fully playable in editor, stand-alone and webplayer.”
I don’t have an Android, so I’m trying to run it in the editor. But upon launch, I get this error:
Exception: JNI: Init'd AndroidJavaClass with null ptr!
UnityEngine.AndroidJavaClass..ctor (IntPtr jclass)
UnityEngine.AndroidJavaObject.get_JavaLangClass ()
UnityEngine.AndroidJavaObject.FindClass (System.String name)
UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className)
UnityEngine.AndroidJavaClass..ctor (System.String className)
XperiaInput.get_CurrentConfig () (at Assets/Scripts/Utility/XperiaInput.cs:13)
XperiaInput.get_KeypadAvailable () (at Assets/Scripts/Utility/XperiaInput.cs:34)
DemoControl.Update () (at Assets/Scripts/DemoControl.cs:178)
Perhaps this worked in Unity 3.4? (I’m running 4.3.)
Any advice on getting this to run in the 4.3 editor?