Archived

This forum has been archived. Please start a new discussion on GitHub.

Unity3D

I am trying to get ICE working with Unity3D however I keep getting the following error:
BCE0106: Failed to access the types defined in assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16' - (C:\Users\Empire Games\Desktop\3rdPersonShooter\SFSIslandDemo\Assets/Plugins/Ice.dll):The classes in the module cannot be loaded.
Could not load type 'IceInternal.RouterInfo' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.OutgoingConnectionFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.IncomingConnectionFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.ConnectionMonitor' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.Instance' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.ObjectAdapterFactory' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.TraceUtil' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.
Could not load type 'IceInternal.ThreadPool+<>c__DisplayClassc' from assembly 'Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16'.

I built some of the C# demos and added the Ice.dll from the demos into my Unity3D project.

specs:
Ice version 3.4.1
Microsoft VC# 2009
Windows Vista

Comments

  • mes
    mes California
    Hi,

    Ice for .NET is not compatible with the old version of Mono used by Unity3D 2.x, but it is possible to use Ice for .NET with Unity3D 3.

    Which version are you using?

    Regards,
    Mark