ICE RPC framework not work on IL2CPP

Our game use ICE framework, build mono armv7 is fine, not work on IL2CPP ios64 unity 4.6.6

onSessionException Ice.SocketException
error = 0
at IceInternal.TcpTransceiver.close () [0x00000] in :0
at IceInternal.TcpTransceiver.finishRead (IceInternal.Buffer buf) [0x00000] in :0
at Ice.PerThreadImplicitContext.combine (System.Collections.Generic.Dictionary2 prxContext) [0x00000] in <filename unknown>:0 at Ice.ConnectionI.finishAsync (Int32 operation) [0x00000] in <filename unknown>:0 at <PrivateImplementationDetails>..ctor () [0x00000] in <filename unknown>:0 at IceInternal.ThreadPool.startMessage (ThreadPoolCurrent& current) [0x00000] in <filename unknown>:0 at IceInternal.ThreadPoolCurrent.startMessage () [0x00000] in <filename unknown>:0 at IceInternal.ThreadPoolMessage.startIOScope (ThreadPoolCurrent& current) [0x00000] in <filename unknown>:0 at Ice.ConnectionI.message (ThreadPoolCurrent& current) [0x00000] in <filename unknown>:0 at Ice.UnknownReplyStatusException.op_Inequality (Ice.UnknownReplyStatusException lhs__, Ice.UnknownReplyStatusException rhs__) [0x00000] in <filename unknown>:0 at IceInternal.ThreadPool.messageCallback (ThreadPoolCurrent current) [0x00000] in <filename unknown>:0 at IceInternal.ThreadPool.asyncReadCallback (System.Object state) [0x00000] in <filename unknown>:0 at IceInternal.AsyncCallback.Invoke (System.Object state) [0x00000] in <filename unknown>:0 at CommonUI.Display.Text.TextDrawableFactory.Dispose () [0x00000] in <filename unknown>:0 at IceInternal.TcpTransceiver.readCompleted (IAsyncResult result) [0x00000] in <filename unknown>:0 at System.AsyncCallback.Invoke (IAsyncResult ar) [0x00000] in <filename unknown>:0 at CommonUI.Display.Text.TextDrawableFactory.Dispose () [0x00000] in <filename unknown>:0 at System.Net.Sockets.Socket+SocketAsyncResult.Complete () [0x00000] in <filename unknown>:0 at System.Net.Sockets.Socket+Worker.Receive () [0x00000] in <filename unknown>:0 at UnityEngine.Events.InvokableCall1[System.Boolean].Find (System.Object targetObj, System.Reflection.MethodInfo method) [0x00000] in :0
Caused by: System.Net.Sockets.SocketException: Operation on non-blocking socket would block
at System.Net.Configuration.WebRequestModuleElementCollection.set_Item (Int32 index, System.Net.Configuration.WebRequestModuleElement value) [0x00000] in :0
at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in :0
at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult, SocketError& errorCode) [0x00000] in :0
at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] in :0
at IceInternal.TcpTransceiver.finishRead (IceInternal.Buffer buf) [0x00000] in :0
at Ice.PerThreadImplicitContext.combine (System.Collections.Generic.Dictionary2 prxContext) [0x00000] in <filename unknown>:0 at Ice.ConnectionI.finishAsync (Int32 operation) [0x00000] in <filename unknown>:0 at <PrivateImplementationDetails>..ctor () [0x00000] in <filename unknown>:0 at IceInternal.ThreadPool.startMessage (ThreadPoolCurrent& current) [0x00000] in <filename unknown>:0 at IceInternal.ThreadPoolCurrent.startMessage () [0x00000] in <filename unknown>:0 at IceInternal.ThreadPoolMessage.startIOScope (ThreadPoolCurrent& current) [0x00000] in <filename unknown>:0 at Ice.ConnectionI.message (ThreadPoolCurrent& current) [0x00000] in <filename unknown>:0 at Ice.UnknownReplyStatusException.op_Inequality (Ice.UnknownReplyStatusException lhs__, Ice.UnknownReplyStatusException rhs__) [0x00000] in <filename unknown>:0 at IceInternal.ThreadPool.messageCallback (ThreadPoolCurrent current) [0x00000] in <filename unknown>:0 at IceInternal.ThreadPool.asyncReadCallback (System.Object state) [0x00000] in <filename unknown>:0 at IceInternal.AsyncCallback.Invoke (System.Object state) [0x00000] in <filename unknown>:0 at CommonUI.Display.Text.TextDrawableFactory.Dispose () [0x00000] in <filename unknown>:0 at IceInternal.TcpTransceiver.readCompleted (IAsyncResult result) [0x00000] in <filename unknown>:0 at System.AsyncCallback.Invoke (IAsyncResult ar) [0x00000] in <filename unknown>:0 at CommonUI.Display.Text.TextDrawableFactory.Dispose () [0x00000] in <filename unknown>:0 at System.Net.Sockets.Socket+SocketAsyncResult.Complete () [0x00000] in <filename unknown>:0 at System.Net.Sockets.Socket+Worker.Receive () [0x00000] in <filename unknown>:0 at UnityEngine.Events.InvokableCall1[System.Boolean].Find (System.Object targetObj, System.Reflection.MethodInfo method) [0x00000] in :0 0

@yifei-zhang

I don’t think that we have had any bug reports yet from the ICE framework. Can you please submit a bug with a project that reproduces this issue? We will investigate it. Thanks.

thanks, i shared my test ICE bug project

@yifei-zhang

Can you please submit a bug report via Help > Report a Bug in the Unity editor? That will allow us to properly track this issue. Thanks.

JoshPeterson
OK , i sent a bug report with test project

@yifei-zhang

Thanks, we will investigate.