Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.5f1

Issue ID

1087438

Regression

No

Crash in (arcore_instant_preview_unity_pl) Update when trying to build HelloAR

XR SDK

-

To reproduce:
1. Open attached project
2. Press Play
3. In the drop-down menu choose HelloAR
4. In popped up table press Build

Actual result: Unity editor crashes
Expected result: Editor should not crash

Reproduced with: 2018.2.11f1; 2018.3.0b5; 2019.1.0a4

Cant reproduce on 2017.4.13f1 because of error:
Exception: JNI: Init'd AndroidJavaClass with null ptr!
UnityEngine.AndroidJavaClass..ctor (IntPtr jclass) (at C:/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:622)
UnityEngine.AndroidJavaObject.get_JavaLangClass () (at C:/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:600)
UnityEngine.AndroidJavaObject.FindClass (System.String name) (at C:/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:591)
UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className) (at C:/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:611)
UnityEngine.AndroidJavaClass..ctor (System.String className) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/AndroidJavaBindings.gen.cs:92)
TestController._ShowAndroidToastMessage (System.String message) (at Assets/Scripts/TestController.cs:71)
TestController.Start () (at Assets/Scripts/TestController.cs:17)

  1. Resolution Note:

    Crash is in Google's runtime code. Google is aware that their Instant Preview tool crashes when used with features introduced in ARCore 1.5+ and will address this in an upcoming release.

Comments (1)

  1. mdurand

    Oct 17, 2018 20:48

    We have brought this to Google's attention and they will be addressing this in an upcoming release of AR Core and Instant Preview. For now the guidance is to rely on Instant Preview for ARCore 1.0 features (planes, feature points, etc.)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.