Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

ICE RPC framework not work on IL2CPP

Discussion in 'iOS and tvOS' started by yifei-zhang, Jun 12, 2015.

  1. yifei-zhang

    yifei-zhang

    Joined:
    Aug 24, 2013
    Posts:
    4
    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 <filename unknown>:0
    at IceInternal.TcpTransceiver.finishRead (IceInternal.Buffer buf) [0x00000] in <filename unknown>:0
    at Ice.PerThreadImplicitContext.combine (System.Collections.Generic.Dictionary`2 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.InvokableCall`1[System.Boolean].Find (System.Object targetObj, System.Reflection.MethodInfo method) [0x00000] in <filename unknown>: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 <filename unknown>:0
    at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in <filename unknown>:0
    at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult, SocketError& errorCode) [0x00000] in <filename unknown>:0
    at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] in <filename unknown>:0
    at IceInternal.TcpTransceiver.finishRead (IceInternal.Buffer buf) [0x00000] in <filename unknown>:0
    at Ice.PerThreadImplicitContext.combine (System.Collections.Generic.Dictionary`2 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.InvokableCall`1[System.Boolean].Find (System.Object targetObj, System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0 0
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @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.
     
  3. yifei-zhang

    yifei-zhang

    Joined:
    Aug 24, 2013
    Posts:
    4
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
  5. yifei-zhang

    yifei-zhang

    Joined:
    Aug 24, 2013
    Posts:
    4
    JoshPeterson
    OK , i sent a bug report with test project
     
  6. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @yifei.zhang

    Thanks, we will investigate.