Jump to content

Unity 2019 Crash


cwm
 Share

Recommended Posts

Hello

I am trying to run the HelloVR scene included with the Unity samples package. I followed steps from the docs included with the sdk download. I can build the apk, but it crashes immediately when running on the Focus. The crash log from adb is copied below. I am using the 3.0.2 sdk, and unity 2019.1.12

Let me know if there are any suggestions, or if there is any more information I can provide that might help someone diagnose this. Thanks!
 

07-31 16:47:05.986  5842  5842 E AndroidRuntime: FATAL EXCEPTION: main
07-31 16:47:05.986  5842  5842 E AndroidRuntime: Process: com.shop.vivefocustest, PID: 5842
07-31 16:47:05.986  5842  5842 E AndroidRuntime: java.lang.Error: FATAL EXCEPTION [main]
07-31 16:47:05.986  5842  5842 E AndroidRuntime: Unity version     : 2019.1.12f1
07-31 16:47:05.986  5842  5842 E AndroidRuntime: Device model      : HTC Vive Focus Plus
07-31 16:47:05.986  5842  5842 E AndroidRuntime: Device fingerprint: htc/htc_mi6/htc_mi6:7.1.2/N2G47H/1073900.1:user/release-keys
07-31 16:47:05.986  5842  5842 E AndroidRuntime:
07-31 16:47:05.986  5842  5842 E AndroidRuntime: 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.shop.vivefocustest-1/base.apk)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at com.htc.vr.unity.WVRUnityVRActivity.onCreate(WVRUnityVRActivity.java:231)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:6888)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2712)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2820)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.app.ActivityThread.-wrap12(ActivityThread.java)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:173)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6608)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:972)
07-31 16:47:05.986  5842  5842 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:852)

@Tony PH Lin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...