f111fei / react-native-unity-demo

103 stars 80 forks source link

UnityView not display #18

Open willienchen opened 6 years ago

willienchen commented 6 years ago

I success to build it on real device , but UnityView not display , must back to home and re-open the app


2018-08-15 15:06:24.037896+0800 rnunitydemo[7811:2394704] [DYMTLInitPlatform] platform initialization successful 2018-08-15 15:06:24.893 [info][tid:main][RCTCxxBridge.mm:214] Initializing <RCTCxxBridge: 0x1741c3390> (parent: <RCTBridge: 0x1740cd5f0>, executor: (null)) 2018-08-15 15:06:24.897453+0800 rnunitydemo[7811:2394658] Initializing <RCTCxxBridge: 0x1741c3390> (parent: <RCTBridge: 0x1740cd5f0>, executor: (null)) 2018-08-15 15:06:24.970 [warn][tid:main][RCTBridge.m:120] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()? 2018-08-15 15:06:24.970113+0800 rnunitydemo[7811:2394658] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()? 2018-08-15 15:06:25.016 [warn][tid:main][RCTModuleData.mm:69] Module RCTImageLoader requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of. 2018-08-15 15:06:25.015880+0800 rnunitydemo[7811:2394658] Module RCTImageLoader requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of. 2018-08-15 15:06:25.049 [info][tid:main][RCTRootView.m:295] Running application rnunitydemo ({ initialProps = { }; rootTag = 1; }) 2018-08-15 15:06:25.049102+0800 rnunitydemo[7811:2394658] Running application rnunitydemo ({ initialProps = { }; rootTag = 1; }) 2018-08-15 15:06:25.087563+0800 rnunitydemo[7811:2394658] Built from '2018.1/release' branch, Version '2018.1.1f1 (b8cbb5de9840)', Build type 'Release', Scripting Backend 'il2cpp' 2018-08-15 15:06:25.087717+0800 rnunitydemo[7811:2394692] [] nw_connection_get_connected_socket_block_invoke 2 Connection has no connected handler 2018-08-15 15:06:25.098473+0800 rnunitydemo[7811:2394658] -> registered mono modules 0x101783a9c -> applicationDidFinishLaunching() 2018-08-15 15:06:25.200841+0800 rnunitydemo[7811:2394658] libMobileGestalt MobileGestaltSupport.m:153: pid 7811 (rnunitydemo) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled 2018-08-15 15:06:25.200925+0800 rnunitydemo[7811:2394658] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see rdar://problem/11744455)

Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported. Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated

2018-08-15 15:06:26.687 [info][tid:com.facebook.react.JavaScript] Running application "rnunitydemo" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF 2018-08-15 15:06:26.687625+0800 rnunitydemo[7811:2394726] Running application "rnunitydemo" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF

2018-08-15 15:06:33.736864+0800 rnunitydemo[7811:2394694] [] nw_connection_get_connected_socket_block_invoke 11 Connection has no connected handler -> applicationWillResignActive() -> applicationDidEnterBackground() -> applicationWillEnterForeground() 2018-08-15 15:06:35.946807+0800 rnunitydemo[7811:2394694] [] nw_connection_get_connected_socket_block_invoke 12 Connection has no connected handler -> applicationDidBecomeActive() Renderer: Apple A8 GPU Vendor: Apple Inc. Version: OpenGL ES 2.0 Apple A8 GPU - 96.27.1 GLES: 2 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_r ead_format GL_IMG_texture_compression_pvrtc OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level <OpenGL ES 2.0> ; Context handle 1948410912 Initialize engine version: 2018.1.1f1 (b8cbb5de9840)

Unity Ready !

2018-08-15 15:06:36.901099+0800 rnunitydemo[7811:2394810] [] nw_connection_get_connected_socket_block_invoke 13 Connection has no connected handler 2018-08-15 15:06:38.154015+0800 rnunitydemo[7811:2394716] [] nw_connection_get_connected_socket_block_invoke 14 Connection has no connected handler UnloadTime: 4.136166 ms Setting up 1 worker threads for Enlighten. Thread -> id: 16f7b7000 -> priority: 1 2018-08-15 15:06:38.916779+0800 rnunitydemo[7811:2394716] [] nw_connection_get_connected_socket_block_invoke 16 Connection has no connected handler

marcosdemetrio commented 6 years ago

+1

ercpereda commented 5 years ago

Same issue is happening to me