android - Unity / Vuforia Update Leaves Me With a Blank Runtime Screen -
i updated vuforia , unity.
vuforia i'm using latest 4.0.105
unity i'm using 5.0.1f1
but ever since started tying make projects in it's been giving me errors. stripped down app , i've got camera , image target. , blank black screen.
the situation before had gui elements along camera , imagetarget , gave me blank screen again gui buttons intact.
it's got camera since logcat stops on same.
any ideas how overcome this?
here's logcat
04-29 14:58:26.400: i/activitymanager(426): start u0 {act=android.intent.action.main cat=[android.intent.category.launcher] flg=0x10200000 cmp=com.rjj.roads/.unityplayernativeactivity} pid 647 04-29 14:58:26.455: i/activitymanager(426): start proc com.rjj.roads activity com.rjj.roads/.unityplayernativeactivity: pid=4648 uid=10097 gids={50097, 3003} 04-29 14:58:26.525: d/dalvikvm(4648): trying load lib /data/app-lib/com.rjj.roads-2/libmain.so 0x420e6e78 04-29 14:58:26.525: d/dalvikvm(4648): added shared lib /data/app-lib/com.rjj.roads-2/libmain.so 0x420e6e78 04-29 14:58:26.535: i/unity(4648): splash_mode = 0 (integer) 04-29 14:58:26.535: i/unity(4648): hide_status_bar = true (bool) 04-29 14:58:26.535: i/unity(4648): useobb = false (bool) 04-29 14:58:26.580: d/unity(4648): surfaces: attach glview 04-29 14:58:26.590: i/unity(4648): choreographer available: enabling vsync timing 04-29 14:58:26.590: i/unity(4648): onresume 04-29 14:58:26.695: i/unity(4648): windowfocuschanged: true 04-29 14:58:26.705: i/activitymanager(426): displayed com.rjj.roads/.unityplayernativeactivity: +261ms 04-29 14:58:26.840: d/mali_winsys(4648): new_window_surface returns 0x3000 04-29 14:58:26.850: d/unity(4648): gl_ext_debug_marker gl_arm_rgba8 gl_arm_mali_shader_binary gl_oes_depth24 gl_oes_depth_texture gl_oes_depth_texture_cube_map gl_oes_packed_depth_stencil gl_oes_rgb8_rgba8 gl_ext_read_format_bgra gl_oes_compressed_paletted_texture gl_oes_compressed_etc1_rgb8_texture gl_oes_standard_derivatives gl_oes_egl_image gl_oes_egl_image_external gl_oes_egl_sync gl_oes_texture_npot gl_oes_vertex_half_float gl_oes_required_internalformat gl_oes_vertex_array_object gl_oes_mapbuffer gl_ext_texture_format_bgra8888 gl_ext_texture_rg gl_ext_texture_type_2_10_10_10_rev gl_oes_fbo_render_mipmap gl_oes_element_index_uint gl_ext_shadow_samplers gl_khr_debug gl_ext_occlusion_query_boolean gl_ext_blend_minmax gl_ext_discard_framebuffer gl_oes_get_program_binary gl_oes_texture_3d gl_ext_texture_storage gl_ext_multisampled_render_to_texture gl_oes_surfaceless_context gl_arm_mali_program_binary 04-29 14:58:26.905: w/libc(4648): pthread_create sched_setscheduler call failed: operation not permitted 04-29 14:58:27.745: i/unity(4648): setting behaviourcomponentfactory 04-29 14:58:27.745: i/unity(4648): 04-29 14:58:27.745: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:27.760: w/sensorservice(426): sensor 00000002 enabled in connection 0x775f09a0 (ignoring) 04-29 14:58:27.780: i/unity(4648): trackable image1 lost 04-29 14:58:27.780: i/unity(4648): 04-29 14:58:27.780: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:27.880: d/dalvikvm(4648): gc_concurrent freed 314k, 11% free 3235k/3612k, paused 3ms+1ms, total 19ms 04-29 14:58:28.000: d/dalvikvm(4648): trying load lib /data/app-lib/com.rjj.roads-2/libvuforia.so 0x420e6e78 04-29 14:58:28.005: d/dalvikvm(4648): added shared lib /data/app-lib/com.rjj.roads-2/libvuforia.so 0x420e6e78 04-29 14:58:28.010: d/dalvikvm(4648): trying load lib /data/app-lib/com.rjj.roads-2/libqcarwrapper.so 0x420e6e78 04-29 14:58:28.010: d/dalvikvm(4648): added shared lib /data/app-lib/com.rjj.roads-2/libqcarwrapper.so 0x420e6e78 04-29 14:58:28.010: d/dalvikvm(4648): no jni_onload found in /data/app-lib/com.rjj.roads-2/libqcarwrapper.so 0x420e6e78, skipping init 04-29 14:58:28.010: d/dalvikvm(4648): trying load lib /data/app-lib/com.rjj.roads-2/libqcarunityplayer.so 0x420e6e78 04-29 14:58:28.010: d/dalvikvm(4648): added shared lib /data/app-lib/com.rjj.roads-2/libqcarunityplayer.so 0x420e6e78 04-29 14:58:28.010: d/dalvikvm(4648): no jni_onload found in /data/app-lib/com.rjj.roads-2/libqcarunityplayer.so 0x420e6e78, skipping init 04-29 14:58:28.115: d/dalvikvm(4648): trying load lib /data/app-lib/com.rjj.roads-2/libqcarwrapper.so 0x420e6e78 04-29 14:58:28.115: d/dalvikvm(4648): shared lib '/data/app-lib/com.rjj.roads-2/libqcarwrapper.so' loaded in same cl 0x420e6e78 04-29 14:58:28.115: d/qcar(4648): setting unity version 5.0.1 04-29 14:58:28.115: d/qcar(4648): qcar extension version 4.0.105 04-29 14:58:28.125: d/qcar(4648): initializing vuforia... 04-29 14:58:28.130: i/ar(4648): qcar has been initialized 04-29 14:58:28.130: i/ar(4648): qcar sdk version 4.0.105 04-29 14:58:28.185: d/dalvikvm(4648): gc_for_alloc freed 308k, 11% free 3261k/3632k, paused 6ms, total 6ms 04-29 14:58:28.185: i/dalvikvm-heap(4648): grow heap (frag case) 3.557mb 329009-byte allocation 04-29 14:58:28.190: d/dalvikvm(4648): gc_for_alloc freed 0k, 10% free 3582k/3956k, paused 7ms, total 7ms 04-29 14:58:28.210: i/dalvikvm(4648): total arena pages jit: 11 04-29 14:58:28.210: i/dalvikvm(4648): total arena pages jit: 12 04-29 14:58:28.210: i/dalvikvm(4648): total arena pages jit: 13 04-29 14:58:28.210: i/dalvikvm(4648): total arena pages jit: 14 04-29 14:58:28.210: i/dalvikvm(4648): total arena pages jit: 15 04-29 14:58:28.210: i/dalvikvm(4648): total arena pages jit: 16 04-29 14:58:28.210: i/dalvikvm(4648): total arena pages jit: 17 04-29 14:58:28.220: i/dalvikvm(4648): total arena pages jit: 18 04-29 14:58:28.245: i/unity(4648): qcar initialization successful 04-29 14:58:28.245: i/unity(4648): 04-29 14:58:28.245: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:28.280: d/qcar(4648): trackermanagerinittracker 04-29 14:58:28.285: d/qcar(4648): trackermanagerinittracker 04-29 14:58:28.335: i/unity(4648): sethint 04-29 14:58:28.335: i/unity(4648): 04-29 14:58:28.335: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:28.340: i/unity(4648): sethint 04-29 14:58:28.340: i/unity(4648): 04-29 14:58:28.340: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:28.340: i/unity(4648): sethint 04-29 14:58:28.340: i/unity(4648): 04-29 14:58:28.340: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:28.350: d/qcar(4648): datasetexists 04-29 14:58:28.455: d/qcar(4648): objecttrackercreatedataset 04-29 14:58:28.455: i/ar(4648): objecttracker: created dataset 04-29 14:58:28.455: d/qcar(4648): created data set. 04-29 14:58:28.460: d/qcar(4648): datasetload 04-29 14:58:28.475: d/dalvikvm(4648): gc_for_alloc freed 520k, 16% free 3425k/4036k, paused 9ms, total 9ms 04-29 14:58:28.645: d/qcar(4648): datasetgetnumtrackabletype 04-29 14:58:28.645: d/qcar(4648): datasetgettrackablesoftype 04-29 14:58:28.650: d/qcar(4648): datasetgettrackablename 04-29 14:58:28.655: d/qcar(4648): objecttargetgetsize 04-29 14:58:28.660: d/qcar(4648): imagetargetgetnumvirtualbuttons 04-29 14:58:28.660: d/qcar(4648): datasetgetnumtrackabletype 04-29 14:58:28.660: d/qcar(4648): datasetgetnumtrackabletype 04-29 14:58:28.685: d/qcar(4648): objecttargetsetsize 04-29 14:58:28.695: i/unity(4648): found trackable named image1 id 1 04-29 14:58:28.695: i/unity(4648): 04-29 14:58:28.695: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:28.700: d/qcar(4648): objecttrackeractivatedataset 04-29 14:58:28.705: i/unity(4648): startqcar 04-29 14:58:28.705: i/unity(4648): 04-29 14:58:28.705: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:28.715: d/qcar(4648): cameradeviceinitcamera 04-29 14:58:28.725: i/awesomeplayer(122): setdatasource_l(url suppressed) 04-29 14:58:28.735: i/awesomeplayer(122): setdatasource_l(url suppressed) 04-29 14:58:28.745: i/camera2clientbase(122): camera 0: opened 04-29 14:58:28.745: d/exynoscamerahal2(122): >>> i'm samsung's camerahal_2(id:0) <<< 04-29 14:58:28.745: d/exynoscamerahal2(122): g_cam2_device : 0x00000000 04-29 14:58:28.745: d/exynoscamerahal2(122): (exynoscamerahwinterface2): enter 04-29 14:58:28.860: d/exynoscamerahal2(122): (exynoscamerahwinterface2): exit 04-29 14:58:28.920: d/dalvikvm(4648): gc_concurrent freed 497k, 15% free 3430k/4036k, paused 1ms+2ms, total 15ms 04-29 14:58:28.935: d/qcar(4648): cameradevicegetvideomode 04-29 14:58:28.955: i/unity(4648): using default scene scale device: 1 04-29 14:58:28.955: i/unity(4648): 04-29 14:58:28.955: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:28.955: d/qcar(4648): cameradeviceselectvideomode 04-29 14:58:28.980: d/qcar(4648): cameradevicestartcamera 04-29 14:58:28.990: d/dalvikvm(4648): gc_for_alloc freed 372k, 16% free 3419k/4036k, paused 9ms, total 9ms 04-29 14:58:28.990: i/dalvikvm-heap(4648): grow heap (frag case) 3.841mb 464912-byte allocation 04-29 14:58:29.000: d/dalvikvm(4648): gc_for_alloc freed <1k, 14% free 3873k/4492k, paused 8ms, total 8ms 04-29 14:58:29.010: d/dalvikvm(4648): gc_concurrent freed 0k, 14% free 3873k/4492k, paused 3ms+1ms, total 11ms 04-29 14:58:29.010: d/dalvikvm(4648): wait_for_concurrent_gc blocked 8ms 04-29 14:58:29.010: i/dalvikvm-heap(4648): grow heap (frag case) 4.285mb 464912-byte allocation 04-29 14:58:29.020: d/dalvikvm(4648): gc_for_alloc freed <1k, 13% free 4327k/4948k, paused 7ms, total 7ms 04-29 14:58:29.035: d/dalvikvm(4648): gc_explicit freed 72k, 15% free 4255k/4948k, paused 1ms+1ms, total 15ms 04-29 14:58:29.035: d/exynoscamerahal2(122): (allocatestream): stream width(640) height(480) format(22) 04-29 14:58:29.040: d/exynoscamerahal2(122): (registerstreambuffers): stream_id(0), num_buff(9), handle(b720ef70) 04-29 14:58:29.045: d/exynoscamerahal2(122): (allocatestream): stream width(2560) height(1920) format(21) 04-29 14:58:29.085: d/exynoscamerahal2(122): (registerstreambuffers): stream_id(4), num_buff(6), handle(b72296f0) 04-29 14:58:29.085: d/exynoscamerahal2(122): (allocatestream): stream width(640) height(480) format(11) 04-29 14:58:29.095: d/exynoscamerahal2(122): (registerstreambuffers): stream_id(2), num_buff(13), handle(b722cdd8) 04-29 14:58:29.095: d/exynoscamerahal2(122): (allocatestream): stream width(2560) height(1920) format(ffffffff) 04-29 14:58:29.095: d/exynoscamerahal2(122): (allocatestream): jpeg stream exists 04-29 14:58:29.095: d/exynoscamerahal2(122): start stream thread 1 release 1869 04-29 14:58:29.105: d/exynoscamerahal2(122): end stream thread 1 release 1874 04-29 14:58:29.115: d/exynoscamerahal2(122): (registerstreambuffers): stream_id(5), num_buff(11), handle(b7231138) 04-29 14:58:29.120: d/exynoscamerahal2(122): (allocatereprocessstreamfromstream): output_stream_id(5) 04-29 14:58:29.155: d/qcar(4648): markertrackerstart 04-29 14:58:29.155: d/qcar(4648): objecttrackerstart 04-29 14:58:29.185: d/qcar(4648): cameradevicegetvideomode 04-29 14:58:29.280: d/exynoscamerahal2(122): ### applying af mode change(mode 2) 04-29 14:58:29.360: i/unity(4648): trackable image1 lost 04-29 14:58:29.360: i/unity(4648): 04-29 14:58:29.360: i/unity(4648): (filename: ./artifacts/generated/common/runtime/unityenginedebug.gen.cpp line: 56) 04-29 14:58:29.370: d/qcar(4648): cameradevicegetvideomode 04-29 14:58:37.275: d/dalvikvm(4648): gc_concurrent freed 459k, 14% free 4281k/4940k, paused 2ms+5ms, total 24ms
turns out unity problem, wasn't allowing extend projects android devices. fixed unity patch fix unity 5.0.1p3
if else comes across same problem, lot of questions here address because of older version or beta version of unity or vuforia, update/downgrade accordingly.
hope helps.
Comments
Post a Comment