f111fei / react-native-unity-demo

103 stars 80 forks source link

"Unity Click Count" always 0 #22

Closed JanOwiesniak closed 5 years ago

JanOwiesniak commented 5 years ago

I guess there is something wrong with the message bus. I tapped everywhere but the counter does not increase. Can anyone verify that the message bus is working as expected?

JanOwiesniak commented 5 years ago

Besides that, it looks like there should pop up an alert box as soon as i tap on "Toogle Rotate", this is not happening either.

I made a screen capture of my session.

JanOwiesniak commented 5 years ago

This is my XCode 10 Debug Output:

2018-11-05 11:54:02.990205+0100 rnunitydemo[1677:96836] [DYMTLInitPlatform] platform initialization successful
2018-11-05 11:54:03.356 [info][tid:main][RCTCxxBridge.mm:216] Initializing <RCTCxxBridge: 0x283e141e0> (parent: <RCTBridge: 0x282a181c0>, executor: (null))
2018-11-05 11:54:03.358170+0100 rnunitydemo[1677:96760] Initializing <RCTCxxBridge: 0x283e141e0> (parent: <RCTBridge: 0x282a181c0>, executor: (null))
2018-11-05 11:54:03.476 [info][tid:main][RCTRootView.m:293] Running application rnunitydemo ({
    initialProps =     {
    };
    rootTag = 1;
})
2018-11-05 11:54:03.476402+0100 rnunitydemo[1677:96760] Running application rnunitydemo ({
    initialProps =     {
    };
    rootTag = 1;
})
2018-11-05 11:54:03.485799+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C2.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:03.486762+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C2.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:03.486950+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C2] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:03.486979+0100 rnunitydemo[1677:96829] TCP Conn 0x283412b80 Failed : error 0:61 [61]
2018-11-05 11:54:03.492137+0100 rnunitydemo[1677:96760] Built from '2018.2/release' branch, Version '2018.2.14f1 (3262fb3b0716)', Build type 'Release', Scripting Backend 'il2cpp'
2018-11-05 11:54:03.497854+0100 rnunitydemo[1677:96760] -> registered mono modules 0x101800e34
-> applicationDidFinishLaunching()
2018-11-05 11:54:03.556325+0100 rnunitydemo[1677:96760] Metal GPU Frame Capture Enabled
2018-11-05 11:54:03.557092+0100 rnunitydemo[1677:96760] Metal API Validation Enabled
2018-11-05 11:54:03.626116+0100 rnunitydemo[1677:96760] [framework] CUIThemeStore: No theme registered with id=0

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-11-05 11:54:03.675120+0100 rnunitydemo[1677:96760] [Warning] Trying to set delaysTouchesBegan to NO on a system gate gesture recognizer - this is unsupported and will have undesired side effects
-> applicationDidBecomeActive()
Renderer: Apple A9 GPU
Vendor:   Apple Inc.
Version:  OpenGL ES 2.0 Metal - 58.3
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 -2146186080
Initialize engine version: 2018.2.14f1 (3262fb3b0716)
2018-11-05 11:54:04.366 [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-11-05 11:54:04.365690+0100 rnunitydemo[1677:96846] Running application "rnunitydemo" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2018-11-05 11:54:04.704793+0100 rnunitydemo[1677:96840] [] nw_socket_handle_socket_event [C4:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:04.705666+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C4] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:04.705732+0100 rnunitydemo[1677:96829] TCP Conn 0x283418840 Failed : error 0:61 [61]
2018-11-05 11:54:05.384864+0100 rnunitydemo[1677:96850] [] nw_socket_handle_socket_event [C5:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:05.385515+0100 rnunitydemo[1677:96834] [] nw_connection_get_connected_socket [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:05.385578+0100 rnunitydemo[1677:96834] TCP Conn 0x283419e00 Failed : error 0:61 [61]
2018-11-05 11:54:05.701045+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C6.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:05.701641+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C6.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:05.701929+0100 rnunitydemo[1677:96850] [] nw_connection_get_connected_socket [C6] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:05.701949+0100 rnunitydemo[1677:96850] TCP Conn 0x28341dd40 Failed : error 0:61 [61]
UnloadTime: 0.769250 ms
Setting up 1 worker threads for Enlighten.
  Thread -> id: 171667000 -> priority: 1 
2018-11-05 11:54:07.711662+0100 rnunitydemo[1677:96829] [] nw_socket_handle_socket_event [C10.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:07.713780+0100 rnunitydemo[1677:96829] [] nw_socket_handle_socket_event [C10.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:07.714247+0100 rnunitydemo[1677:96850] [] nw_connection_get_connected_socket [C10] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:07.714306+0100 rnunitydemo[1677:96850] TCP Conn 0x28341cd80 Failed : error 0:61 [61]
2018-11-05 11:54:07.982960+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C8:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:07.983549+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C8] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:07.983595+0100 rnunitydemo[1677:96829] TCP Conn 0x28341e7c0 Failed : error 0:61 [61]
2018-11-05 11:54:08.432966+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C9:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:08.433368+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C9] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:08.433392+0100 rnunitydemo[1677:96829] TCP Conn 0x283419e00 Failed : error 0:61 [61]
2018-11-05 11:54:09.919093+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C11.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:09.920948+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C11.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:09.921502+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C11] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:09.921548+0100 rnunitydemo[1677:96829] TCP Conn 0x28341cc00 Failed : error 0:61 [61]
2018-11-05 11:54:11.204329+0100 rnunitydemo[1677:96850] [] nw_socket_handle_socket_event [C12:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:11.205325+0100 rnunitydemo[1677:96834] [] nw_connection_get_connected_socket [C12] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:11.205394+0100 rnunitydemo[1677:96834] TCP Conn 0x28341cc00 Failed : error 0:61 [61]
2018-11-05 11:54:11.632794+0100 rnunitydemo[1677:96850] [] nw_socket_handle_socket_event [C13:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:11.633661+0100 rnunitydemo[1677:96840] [] nw_connection_get_connected_socket [C13] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:11.633729+0100 rnunitydemo[1677:96840] TCP Conn 0x28341a640 Failed : error 0:61 [61]
2018-11-05 11:54:12.090561+0100 rnunitydemo[1677:96840] [] nw_socket_handle_socket_event [C14.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:12.091716+0100 rnunitydemo[1677:96840] [] nw_socket_handle_socket_event [C14.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:12.092545+0100 rnunitydemo[1677:96834] [] nw_connection_get_connected_socket [C14] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:12.092585+0100 rnunitydemo[1677:96834] TCP Conn 0x283418540 Failed : error 0:61 [61]
2018-11-05 11:54:14.105152+0100 rnunitydemo[1677:96850] [] nw_socket_handle_socket_event [C17.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:14.105948+0100 rnunitydemo[1677:96850] [] nw_socket_handle_socket_event [C17.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:14.106186+0100 rnunitydemo[1677:96834] [] nw_connection_get_connected_socket [C17] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:14.106210+0100 rnunitydemo[1677:96834] TCP Conn 0x28341a640 Failed : error 0:61 [61]
2018-11-05 11:54:14.419898+0100 rnunitydemo[1677:96834] [] nw_socket_handle_socket_event [C15:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:14.420748+0100 rnunitydemo[1677:96840] [] nw_connection_get_connected_socket [C15] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:14.420880+0100 rnunitydemo[1677:96840] TCP Conn 0x28341d680 Failed : error 0:61 [61]
click
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Rotate:OnMouseDown()
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UnityEngine.HitInfo:op_Implicit(HitInfo)
UnityEngine.SendMouseEvents:SendEvents(Int32, HitInfo)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

MissingMethodException: Method not found: 'Default constructor not found...ctor() of System.ComponentModel.TypeConverter'.
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 
  at System.ComponentModel.TypeDescriptor.GetConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonTypeReflector.GetTypeConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Utilities.ConvertUtils.GetConverter (System.Type t) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CanConvertToString (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JToken.FromObjectInternal (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o) [0x00000] in <filename unknown>:0 
  at UnityMessageManager.SendMessageToRN (.UnityMessage message) [0x00000] in <filename unknown>:0 
  at Rotate.OnMouseDown () [0x00000] in <filename unknown>:0 
  at UnityEngine.GameObject.SendMessage (System.String methodName, System.Object value, SendMessageOptions options) [0x00000] in <filename unknown>:0 
  at UnityEngine.SendMouseEvents+HitInfo.op_Implicit (HitInfo exists) [0x00000] in <filename unknown>:0 
  at UnityEngine.SendMouseEvents.SendEvents (Int32 i, HitInfo hit) [0x00000] in <filename unknown>:0 
  at UnityEngine.SendMouseEvents.DoSendMouseEvents (Int32 skipRTCameras) [0x00000] in <filename unknown>:0 
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UnityEngine.HitInfo:op_Implicit(HitInfo)
UnityEngine.SendMouseEvents:SendEvents(Int32, HitInfo)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)

(Filename: currently not available on il2cpp Line: -1)

2018-11-05 11:54:14.673448+0100 rnunitydemo[1677:96850] [] nw_socket_handle_socket_event [C16:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:14.673795+0100 rnunitydemo[1677:96840] [] nw_connection_get_connected_socket [C16] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:14.673818+0100 rnunitydemo[1677:96840] TCP Conn 0x28341cc00 Failed : error 0:61 [61]
2018-11-05 11:54:16.173774+0100 rnunitydemo[1677:96850] [] nw_socket_connect [C18.1:1] connectx(22, [srcif=0, srcaddr=<NULL>, dstaddr=127.0.0.1:8081], SAE_ASSOCID_ANY, 0, NULL, 0, NULL, SAE_CONNID_ANY) failed: [61: Connection refused]
2018-11-05 11:54:16.174637+0100 rnunitydemo[1677:96850] [] nw_socket_connect [C18.1:1] connectx failed (fd 22) [61: Connection refused]
2018-11-05 11:54:16.174665+0100 rnunitydemo[1677:96850] [] nw_socket_connect connectx failed (fd 22) [61: Connection refused]
2018-11-05 11:54:16.176388+0100 rnunitydemo[1677:96850] [] nw_socket_handle_socket_event [C18.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:16.177056+0100 rnunitydemo[1677:96840] [] nw_connection_get_connected_socket [C18] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:16.177086+0100 rnunitydemo[1677:96840] TCP Conn 0x28341cc00 Failed : error 0:61 [61]
2018-11-05 11:54:17.644198+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C19:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:17.645255+0100 rnunitydemo[1677:96840] [] nw_connection_get_connected_socket [C19] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:17.645314+0100 rnunitydemo[1677:96840] TCP Conn 0x283412e80 Failed : error 0:61 [61]
2018-11-05 11:54:17.696812+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C20:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:17.697290+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C20] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:17.697329+0100 rnunitydemo[1677:96829] TCP Conn 0x283410300 Failed : error 0:61 [61]
click
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Rotate:OnMouseDown()
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UnityEngine.HitInfo:op_Implicit(HitInfo)
UnityEngine.SendMouseEvents:SendEvents(Int32, HitInfo)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

MissingMethodException: Method not found: 'Default constructor not found...ctor() of System.ComponentModel.TypeConverter'.
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 
  at System.ComponentModel.TypeDescriptor.GetConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonTypeReflector.GetTypeConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Utilities.ConvertUtils.GetConverter (System.Type t) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CanConvertToString (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JToken.FromObjectInternal (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o) [0x00000] in <filename unknown>:0 
  at UnityMessageManager.SendMessageToRN (.UnityMessage message) [0x00000] in <filename unknown>:0 
  at Rotate.OnMouseDown () [0x00000] in <filename unknown>:0 
  at UnityEngine.GameObject.SendMessage (System.String methodName, System.Object value, SendMessageOptions options) [0x00000] in <filename unknown>:0 
  at UnityEngine.SendMouseEvents+HitInfo.op_Implicit (HitInfo exists) [0x00000] in <filename unknown>:0 
  at UnityEngine.SendMouseEvents.SendEvents (Int32 i, HitInfo hit) [0x00000] in <filename unknown>:0 
  at UnityEngine.SendMouseEvents.DoSendMouseEvents (Int32 skipRTCameras) [0x00000] in <filename unknown>:0 
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UnityEngine.HitInfo:op_Implicit(HitInfo)
UnityEngine.SendMouseEvents:SendEvents(Int32, HitInfo)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)

(Filename: currently not available on il2cpp Line: -1)

2018-11-05 11:54:18.190401+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C21.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:18.191509+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C21.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:18.191800+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C21] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:18.191838+0100 rnunitydemo[1677:96829] TCP Conn 0x28341d800 Failed : error 0:61 [61]
2018-11-05 11:54:20.389370+0100 rnunitydemo[1677:96840] [] nw_socket_handle_socket_event [C24.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:20.389826+0100 rnunitydemo[1677:96840] [] nw_socket_connect [C24.2:1] connectx(25, [srcif=0, srcaddr=<NULL>, dstaddr=::1.8081], SAE_ASSOCID_ANY, 0, NULL, 0, NULL, SAE_CONNID_ANY) failed: [61: Connection refused]
2018-11-05 11:54:20.390048+0100 rnunitydemo[1677:96840] [] nw_socket_connect [C24.2:1] connectx failed (fd 25) [61: Connection refused]
2018-11-05 11:54:20.390061+0100 rnunitydemo[1677:96840] [] nw_socket_connect connectx failed (fd 25) [61: Connection refused]
2018-11-05 11:54:20.390254+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C24] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:20.390270+0100 rnunitydemo[1677:96829] TCP Conn 0x283412dc0 Failed : error 0:61 [61]
2018-11-05 11:54:20.728800+0100 rnunitydemo[1677:96840] [] nw_socket_handle_socket_event [C22:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:20.729356+0100 rnunitydemo[1677:96840] [] nw_socket_handle_socket_event [C23:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:20.729793+0100 rnunitydemo[1677:96841] [] nw_connection_get_connected_socket [C22] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:20.729835+0100 rnunitydemo[1677:96841] TCP Conn 0x28341d800 Failed : error 0:61 [61]
2018-11-05 11:54:20.731601+0100 rnunitydemo[1677:96841] [] nw_connection_get_connected_socket [C23] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:20.731647+0100 rnunitydemo[1677:96841] TCP Conn 0x28341e700 Failed : error 0:61 [61]
onMessage:
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Rotate:onMessage(MessageHandler)
MessageHandlerDelegate:Invoke(MessageHandler)
UnityMessageManager:onRNMessage(String)

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

MissingMethodException: Method not found: 'Default constructor not found...ctor() of System.ComponentModel.TypeConverter'.
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 
  at System.ComponentModel.TypeDescriptor.GetConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonTypeReflector.GetTypeConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Utilities.ConvertUtils.GetConverter (System.Type t) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CanConvertToString (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JToken.FromObjectInternal (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o) [0x00000] in <filename unknown>:0 
  at MessageHandler.send (System.Object data) [0x00000] in <filename unknown>:0 
  at Rotate.onMessage (.MessageHandler message) [0x00000] in <filename unknown>:0 
  at UnityMessageManager+MessageHandlerDelegate.Invoke (.MessageHandler handler) [0x00000] in <filename unknown>:0 
  at UnityMessageManager.onRNMessage (System.String message) [0x00000] in <filename unknown>:0 

(Filename: currently not available on il2cpp Line: -1)

2018-11-05 11:54:22.591870+0100 rnunitydemo[1677:96829] [] nw_socket_handle_socket_event [C25.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:22.592463+0100 rnunitydemo[1677:96829] [] nw_socket_handle_socket_event [C25.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:22.592675+0100 rnunitydemo[1677:96841] [] nw_connection_get_connected_socket [C25] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:22.592702+0100 rnunitydemo[1677:96841] TCP Conn 0x28341e700 Failed : error 0:61 [61]
onMessage:
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Rotate:onMessage(MessageHandler)
MessageHandlerDelegate:Invoke(MessageHandler)
UnityMessageManager:onRNMessage(String)

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

MissingMethodException: Method not found: 'Default constructor not found...ctor() of System.ComponentModel.TypeConverter'.
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 
  at System.ComponentModel.TypeDescriptor.GetConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonTypeReflector.GetTypeConverter (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Utilities.ConvertUtils.GetConverter (System.Type t) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CanConvertToString (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JToken.FromObjectInternal (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o) [0x00000] in <filename unknown>:0 
  at MessageHandler.send (System.Object data) [0x00000] in <filename unknown>:0 
  at Rotate.onMessage (.MessageHandler message) [0x00000] in <filename unknown>:0 
  at UnityMessageManager+MessageHandlerDelegate.Invoke (.MessageHandler handler) [0x00000] in <filename unknown>:0 
  at UnityMessageManager.onRNMessage (System.String message) [0x00000] in <filename unknown>:0 

(Filename: currently not available on il2cpp Line: -1)

2018-11-05 11:54:23.791004+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C26:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:23.791384+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C26] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:23.791406+0100 rnunitydemo[1677:96829] TCP Conn 0x28341d800 Failed : error 0:61 [61]
WARNING: 0:4: extension 'GL_EXT_frag_depth' is not supported
ERROR: 0:38: Use of undeclared identifier 'gl_FragDepthEXT'

Note: Creation of internal variant of shader 'Hidden/Internal-MotionVectors' failed.
WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Setting to default shader.
2018-11-05 11:54:24.612970+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C28.1:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:24.615503+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C28.2:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:24.616146+0100 rnunitydemo[1677:96840] [] nw_connection_get_connected_socket [C28] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:24.616215+0100 rnunitydemo[1677:96840] TCP Conn 0x28341e700 Failed : error 0:61 [61]
2018-11-05 11:54:24.952343+0100 rnunitydemo[1677:96841] [] nw_socket_handle_socket_event [C27:1] Socket SO_ERROR [61: Connection refused]
2018-11-05 11:54:24.952981+0100 rnunitydemo[1677:96829] [] nw_connection_get_connected_socket [C27] Client called nw_connection_get_connected_socket on unconnected nw_connection
2018-11-05 11:54:24.953038+0100 rnunitydemo[1677:96829] TCP Conn 0x283400480 Failed : error 0:61 [61]
JanOwiesniak commented 5 years ago

I created the UnityExport with Unity Version 2018.2.14f1

f111fei commented 5 years ago

https://github.com/SaladLab/Json.Net.Unity3D/blob/master/README.md#q-missingmethodexception-is-thrown-for-componentmodeltypeconverter

Try add https://github.com/SaladLab/Json.Net.Unity3D/blob/master/src/UnityPackage/Assets/link.xml to your unity project.

JanOwiesniak commented 5 years ago

This actually solves the problem. Thank you so much!