Jump to content

Unity 2019 Crash


cwm

Recommended Posts

Posted

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

Posted

Hi @Fangh

No, Wave 3.0.2 already supported the version before 2019.

We have some developers to use 2018.3 to build the apps.

However if you still encounter some issues, please provide the logs so we can resolve the specific issues accordingly.

Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...