Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

ARFoundation Immediately Crashing

Discussion in 'Handheld AR' started by freaksed, Jul 12, 2018.

  1. freaksed

    freaksed

    Joined:
    Sep 15, 2010
    Posts:
    21
    I am trying to use the new ARFoundation stuff, but even with a fresh project and just a cube in the scene with the 2 provided prefab objects, the app crashes immediately. In the logcat it says something about tango for crash errors, but not much else...
     
  2. freaksed

    freaksed

    Joined:
    Sep 15, 2010
    Posts:
    21
    Copied a log for more info
    07-11 16:44:00.753: E/CRASH(4230): signal 6 (SIGABRT), code -6 (?), fault addr --------
    07-11 16:44:00.753: E/CRASH(4230): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    07-11 16:44:00.753: E/CRASH(4230): Build fingerprint: 'google/marlin/marlin:8.1.0/OPM4.171019.021.P1/4820305:user/release-keys'
    07-11 16:44:00.753: E/CRASH(4230): Revision: '0'
    07-11 16:44:00.754: E/CRASH(4230): pid: 4230, tid: 4254, name: UnityMain >>> com.ryot.artest <<<
    07-11 16:44:00.754: E/CRASH(4230): r0 00000000 r1 0000109e r2 00000006 r3 00000008
    07-11 16:44:00.754: E/CRASH(4230): r4 00001086 r5 0000109e r6 d06fd75c r7 0000010c
    07-11 16:44:00.754: E/CRASH(4230): r8 00000000 r9 d06fdbb4 sl 0000018d fp 00000000
    07-11 16:44:00.754: E/CRASH(4230): ip 00000000 sp d06fd748 lr ebb7fbdf pc ebb795ec cpsr d06fd3d8
    07-11 16:44:00.754: E/CRASH(4230): backtrace:
    07-11 16:44:01.120: E/CRASH(4230): #00 pc 0001a5ec /system/lib/libc.so (abort+63)
    07-11 16:44:01.120: E/CRASH(4230): #01 pc 000065b1 /system/lib/liblog.so (__android_log_assert+156)
    07-11 16:44:01.121: E/CRASH(4230): #02 pc 00009d1d /data/app/com.ryot.artest-V1C68HCljGM033wiBMvpPg==/lib/arm/libtango_client_api2.so
    07-11 16:44:01.121: E/CRASH(4230): #03 il 0000004f at (wrapper managed-to-native) UnityEngine.XR.Tango.TangoInputTracking.Internal_TryGetPoseAtTime (double,UnityEngine.ScreenOrientation,UnityEngine.XR.Tango.CoordinateFrame,UnityEngine.XR.Tango.CoordinateFrame,UnityEngine.XR.Tango.PoseData&) <0x0004f>
    07-11 16:44:01.121: E/CRASH(4230): #04 il 0000005f at UnityEngine.XR.Tango.TangoInputTracking.TryGetPoseAtTime (UnityEngine.XR.Tango.PoseData&,UnityEngine.XR.Tango.CoordinateFrame,UnityEngine.XR.Tango.CoordinateFrame,double) [0x00007] in <114d2ced01184997aa75b71e60cf7eb5>:0
    07-11 16:44:01.121: E/CRASH(4230): #05 il 0000004f at UnityEngine.SpatialTracking.PoseDataSource.TryGetTangoPose (UnityEngine.XR.Tango.CoordinateFrame,UnityEngine.Pose&) [0x00008] in <6ec990296dc04c7fb243c13b9d7feaeb>:0
    07-11 16:44:01.121: E/CRASH(4230): #06 il 000000f3 at UnityEngine.SpatialTracking.PoseDataSource.TryGetDataFromSource (UnityEngine.SpatialTracking.TrackedPoseDriver/TrackedPose,UnityEngine.Pose&) [0x0009b] in <6ec990296dc04c7fb243c13b9d7feaeb>:0
    07-11 16:44:01.121: E/CRASH(4230): #07 il 00000063 at UnityEngine.SpatialTracking.TrackedPoseDriver.TryGetPoseData (UnityEngine.SpatialTracking.TrackedPoseDriver/DeviceType,UnityEngine.SpatialTracking.TrackedPoseDriver/TrackedPose,UnityEngine.Pose&) [0x00025] in <6ec990296dc04c7fb243c13b9d7feaeb>:0
    07-11 16:44:01.121: E/CRASH(4230): #08 il 000000e3 at UnityEngine.SpatialTracking.TrackedPoseDriver.PerformUpdate () [0x0001f] in <6ec990296dc04c7fb243c13b9d7feaeb>:0
    07-11 16:44:01.121: E/CRASH(4230): #09 il 00000033 at UnityEngine.SpatialTracking.TrackedPoseDriver.FixedUpdate () [0x00019] in <6ec990296dc04c7fb243c13b9d7feaeb>:0
    07-11 16:44:01.121: E/CRASH(4230): #10 il 00000073 at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x00073>
     
  3. rxmarccall

    rxmarccall

    Joined:
    Oct 13, 2011
    Posts:
    289
    Mine was crashing and it was because I needed to add a row to the Info.plist file inside of xcode for "Privacy - Camera Usage Description"

    Hope it helps.
     
  4. freaksed

    freaksed

    Joined:
    Sep 15, 2010
    Posts:
    21
    I am running on Android :/
     
  5. freaksed

    freaksed

    Joined:
    Sep 15, 2010
    Posts:
    21
    More update, I noticed this line just above the crash messages
    A/tango(7293): jni_helper.cc:19 'vm' Must be non NULL
     
  6. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    206