When I run the samples in the Unity3D SDK for Project Tango they only work for a few seconds, then I get the error message “Unfortunately, (app name) has stopped”
Does anyone know how to fix this?
When I run the samples in the Unity3D SDK for Project Tango they only work for a few seconds, then I get the error message “Unfortunately, (app name) has stopped”
Does anyone know how to fix this?
Getting same with a the following logcat (Run on the Asus Zenfone AR):
Caused by: java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/ContextWrapper;)V in class Lcom/unity3d/player/UnityPlayer; or its super classes (declaration of 'com.unity3d.player.UnityPlayer' appears in /data/app/com.SGIL.TangoTest-1/base.apk)
at com.google.unity.GoogleUnityActivity.onCreate(GoogleUnityActivity.java:106)
at android.app.Activity.performCreate(Activity.java:6743)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:159)
at android.app.ActivityThread.main(ActivityThread.java:6097)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)*emphasized text*
No you are correct. But I thought the point was to take an function from a string given by the user and do a raycast on it. I mean you can combine the function given CalculateString() if that is still what you are after, and implement it with the method the other bloke said.
– Cornelis-de-Jager