TypeLoadException Sfs2X.SmartFox

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

Post Reply
Zerano
Posts: 10
Joined: 16 Jun 2011, 10:18

TypeLoadException Sfs2X.SmartFox

Post by Zerano »

Hello, i am getting this error after updating to unity 3.5.2, smartfoxserver2x 2.1.0 , SmartFox2.dll 1.0.1 :

Code: Select all

TypeLoadException: Could not load type 'Sfs2X.SmartFox' from assembly 'SmartFox2, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null'.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Re: TypeLoadException Sfs2X.SmartFox

Post by ThomasLund »

Hi,

I'm running 3.5.2 here with SFS2X and dont have an error.

Can you give more info? Anyone else with this problem?

Try to remove the dll, restart unity and copy the dll in again (might be some cache that Unity has)

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Post Reply