Search Unity

New Samples in Asset Store

Discussion in 'Vuforia' started by Augmenteer, Oct 3, 2017.

  1. Augmenteer

    Augmenteer

    Joined:
    Aug 30, 2015
    Posts:
    43
    We've added our AR+VR and Stereo Rendering samples to the a Asset Store, in addition to Core Samples.

    coming soon:
    • HoloLens
    • Occlusion Management
    • Background Texture Access

    These have all been updated for the Vuforia Unity integration in 2017.2.
     
    HenryAsh and Vuforia-Strasza like this.
  2. Jayjays

    Jayjays

    Joined:
    Nov 4, 2015
    Posts:
    9
    HI

    Are there any instructions to get started using the samples, please?
     
  3. Hemanth_DJ

    Hemanth_DJ

    Joined:
    Aug 12, 2017
    Posts:
    13
    Please release the Hololens Sample soon, including the Vumark and Multiple Image Targets just like the Core samples for Android.
     
  4. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
  5. Liveanimatoinscorp

    Liveanimatoinscorp

    Joined:
    Sep 29, 2016
    Posts:
    3
    Where to look delayed initialization example on Unity 2017.2 ?

     
  6. skdev3

    skdev3

    Joined:
    Jul 15, 2015
    Posts:
    64
    Where to look Delayed initialization samples?
     
  7. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    @skdev3 There are not samples for this, but I'm happy to answer any questions you have related to it. Are you having trouble initializing Vuforia after setting the Delayed Initialization flag in the Vuforia Configuration?
     
  8. skdev3

    skdev3

    Joined:
    Jul 15, 2015
    Posts:
    64
    Yes, the application to crash in Android higher 7.0 .If do not use Delayed Initialization flag, Vuforiya flashes black screan when the application starts...
     
  9. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    Are you disabling the VuforiaBehaviour as well when you have the Delayed Initialization flag? Does Logcat have any relevant crash logs in it when you see this?
     
  10. skdev3

    skdev3

    Joined:
    Jul 15, 2015
    Posts:
    64
    Steps:
    Disable VuforiaBehaviour, DefaultInitializationErrorHandler and Delayed Initialization flag = True;

    1. if(!VuforiaRuntime.Instance.HasInitialized) VuforiaRuntime.Instance.InitVuforia();
    2. Wait VuforiaRuntime.Instance.HasInitialized
    3. GetComponent<VuforiaBehaviour>().enabled = true; GetComponent<DefaultInitializationErrorHandler>().enabled = true;
    4. CameraDevice.Instance.Start();
    5. Crash on Android > 7.1

    Device Google Pixel
    Android 7.1.1
    LogCat:
    Code (csharp):
    1.  
    2. 12-13 18:03:09.932 1013-9142/? I/ActivityManager: Setting hasTopUi=false for pid=1495
    3. 12-13 18:03:09.935 1495-1495/? D/PhoneStatusBar: disable: < expand icons* alerts system_info* back home recent clock search quick_settings >
    4. 12-13 18:03:14.811 31462-31479/? D/Vuforia: Initializing Vuforia...
    5. 12-13 18:03:14.812 31462-31479/? I/System.out: Native library libVuforia.so loaded
    6. 12-13 18:03:14.840 31462-31479/? I/AR: Vuforia selected rendering API OpenGL ES 2.x
    7. 12-13 18:03:14.840 31462-31479/? I/AR: Vuforia SDK version 6.5.25
    8. 12-13 18:03:16.009 31462-31479/? I/CameraManagerGlobal: Connecting to camera service
    9. 12-13 18:03:16.153 31462-31479/? I/Unity: Vuforia initialization successful
    10.                                           UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    11.                                           UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    12.                                           UnityEngine.Logger:Log(LogType, Object)
    13.                                           UnityEngine.Debug:Log(Object)
    14.                                           Vuforia.VuforiaRuntime:InitVuforia()
    15. 12-13 18:03:16.202 31462-31606/? D/AR: RenderManager: Could not retrieve a valid GLSurfaceView in view hierarchy, therefore cannot set any render mode
    16. 12-13 18:03:16.308 31462-31632/? D/Unity: Unloading 27 Unused Serialized files (Serialized files now loaded: 0)
    17.                                      
    18.                                         --------- beginning of crash
    19. 12-13 18:03:16.596 31462-31479/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 31479 (UnityMain)
    20.                                    
    21.                                          [ 12-13 18:03:16.597   555:  555 W/         ]
    22.                                          debuggerd: handling request: pid=31462 uid=10174 gid=10174 tid=31479
    23. 12-13 18:03:16.629 32039-32039/? W/debuggerd: type=1400 audit(0.0:6326): avc: denied { search } for name="com.google.tango" dev="sda35" ino=893124 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    24. 12-13 18:03:16.720 32039-32039/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    25. 12-13 18:03:16.720 32039-32039/? A/DEBUG: Build fingerprint: 'google/sailfish/sailfish:7.1.1/NOF26V/3636322:user/release-keys'
    26. 12-13 18:03:16.721 32039-32039/? A/DEBUG: Revision: '0'
    27. 12-13 18:03:16.721 32039-32039/? A/DEBUG: ABI: 'arm'
    28. 12-13 18:03:16.721 32039-32039/? A/DEBUG: pid: 31462, tid: 31479, name: UnityMain  >>> org.mycompany.testApp <<<
    29. 12-13 18:03:16.721 32039-32039/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    30. 12-13 18:03:16.732 32039-32039/? A/DEBUG: Abort message: 'art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: illegal class name 'android.os.Build$VERSION''
    31. 12-13 18:03:16.733 32039-32039/? A/DEBUG:     r0 00000000  r1 00007af7  r2 00000006  r3 00000008
    32. 12-13 18:03:16.733 32039-32039/? A/DEBUG:     r4 eb0db978  r5 00000006  r6 eb0db920  r7 0000010c
    33. 12-13 18:03:16.733 32039-32039/? A/DEBUG:     r8 00000000  r9 0000000a  sl 00000718  fp ec606300
    34. 12-13 18:03:16.733 32039-32039/? A/DEBUG:     ip 00000000  sp eb0da140  lr ee3b15c7  pc ee3b3e30  cpsr 00070010
    35. 12-13 18:03:16.772 32039-32039/? A/DEBUG: backtrace:
    36. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #00 pc 00049e30  /system/lib/libc.so (tgkill+12)
    37. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #01 pc 000475c3  /system/lib/libc.so (pthread_kill+34)
    38. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #02 pc 0001d635  /system/lib/libc.so (raise+10)
    39. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #03 pc 00019181  /system/lib/libc.so (__libc_android_abort+34)
    40. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #04 pc 00017048  /system/lib/libc.so (abort+4)
    41. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #05 pc 0031b43d  /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+328)
    42. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #06 pc 000b526b  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1134)
    43. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #07 pc 0023a609  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1584)
    44. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #08 pc 0023a85f  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58)
    45. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #09 pc 000cac4b  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+42)
    46. 12-13 18:03:16.772 32039-32039/? A/DEBUG:     #10 pc 000bde83  /system/lib/libart.so (_ZN3art8CheckJNI9FindClassEP7_JNIEnvPKc+514)
    47. 12-13 18:03:16.773 32039-32039/? A/DEBUG:     #11 pc 00ff8a0c  /data/app/org.mycompany.testApp-2/lib/arm/libunity.so (_Z41AndroidJNI_CUSTOM_INTERNAL_CALL_FindClassP10MonoStringRPv+204)
    48. 12-13 18:03:16.773 32039-32039/? A/DEBUG:     #12 pc 0002c9ec  <anonymous:d13f6000>
    49. 12-13 18:03:18.119 32039-32039/? W/debuggerd: type=1400 audit(0.0:6327): avc: denied { search } for name="com.google.tango" dev="sda35" ino=893124 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    50. 12-13 18:03:18.173 1013-32062/? W/ActivityManager:   Force finishing activity org.mycompany.testApp/com.unity3d.player.UnityPlayerNativeActivity
    51. 12-13 18:03:18.174 1013-1082/? I/BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
    52.                                              
    53.                                                [ 12-13 18:03:18.183   555:  555 W/         ]
    54.                                                debuggerd: resuming target 31462
    55. 12-13 18:03:18.189 1013-32062/? W/ActivityManager:   Force finishing activity org.mycompany.testApp/com.unity3d.player.UnityPlayerNativeActivity
    56. 12-13 18:03:18.189 1013-32062/? W/ActivityManager: Duplicate finish request for ActivityRecord{80fecb u0 org.mycompany.testApp/com.unity3d.player.UnityPlayerNativeActivity t1109 f}
    57. 12-13 18:03:18.207 1013-1086/? W/ProcessCpuTracker: Skipping unknown process pid 32060
    58. 12-13 18:03:18.214 1013-1410/? I/ActivityManager: Process org.mycompany.testApp (pid 31462) has died
    59. 12-13 18:03:18.214 1013-1410/? D/ActivityManager: cleanUpApplicationRecord -- 31462
    60. 12-13 18:03:18.215 1013-1932/? D/GraphicsStats: Buffer count: 8
    61. 12-13 18:03:18.217 1013-16096/? I/WindowManager: WIN DEATH: Window{89398c u0 SurfaceView - org.mycompany.testApp/com.unity3d.player.UnityPlayerNativeActivity}
    62. 12-13 18:03:18.224 1013-7824/? I/WindowManager: WIN DEATH: Window{26c4ad9 u0 org.mycompany.testApp/com.unity3d.player.UnityPlayerNativeActivity}
    63. 12-13 18:03:18.232 486-486/? W/SurfaceFlinger: couldn't log to binary event log: overflow.
    64.  
     
    Last edited: Dec 21, 2017