Search Unity

Raknet Network + Flash

Discussion in 'Flash' started by kenfalco, Aug 5, 2012.

  1. kenfalco

    kenfalco

    Joined:
    Jul 18, 2012
    Posts:
    27
    I have a Unity project that use Lidgren some idea how to convert for Flash ?

    There are some error during compiling

    Failed to convert type 'Lidgren.Network.NetBigInteger': Error decompiling Lidgren.Network.NetBigInteger Lidgren.Network.NetBigInteger::ShiftRight(System.Int32)

    Failed to convert type 'Lidgren.Network.NetQueue`1': Failed to resolve T
    Mono.Cecil.ResolutionException: Failed to resolve T

    Failed to convert type 'Lidgren.Network.NetUtility': Cannot replace the null nodes
    System.InvalidOperationException: Cannot replace the null nodes

    Thanks

    Gabriel
     
    Last edited: Aug 7, 2012
  2. kenfalco

    kenfalco

    Joined:
    Jul 18, 2012
    Posts:
    27
    I added some details
     
  3. huangyous

    huangyous

    Joined:
    Jun 27, 2010
    Posts:
    55
    I think you have to find some Flash based network library.The conversion of mono to AS3 is not functional for many futures.
    It's not hard to call AS3 code from Unity.
     
  4. catburton

    catburton

    Joined:
    Mar 29, 2011
    Posts:
    43
    Huangyous is correct - Raknet is not supported for flash export so you'll need to implement your own networking or use an ActionScript networking library for flash export.
     
  5. kenfalco

    kenfalco

    Joined:
    Jul 18, 2012
    Posts:
    27
    Sorry i write Raknet but is Lidgren ... but i think the response is the same :D

    Gabriel