cwm Posted July 31, 2019 Posted July 31, 2019 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
Tony PH Lin Posted August 1, 2019 Posted August 1, 2019 Hi @cwm It's caused that 3.0.2 version isn't supported Unity 2019. Please wait for 3.1 which is going public soon. Thanks for your report.
Fangh Posted August 5, 2019 Posted August 5, 2019 So the 2018.3 & 2018.3 are not supported too? @Tony PH Lin
Tony PH Lin Posted August 8, 2019 Posted August 8, 2019 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.