Unity C# Example Not working

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

jimbobway
Posts: 20
Joined: 26 Oct 2010, 15:57

Unity C# Example Not working

Postby jimbobway » 31 May 2011, 21:33

I downloaded this:

http://www.smartfoxserver.com/download/ ... _1.2.6.zip

The first example works and I can connect to the SmartFoxServer.
The second example it does not connect to smartFox. It says:

UnityEngine.Application:LoadLevelAsync(String, Int32, Boolean, Boolean)
UnityEngine.Application:LoadLevel(String) (at C:\BuildAgent\work\6bc5f79e0a4296d6\Runtime\ExportGenerated\Editor\BaseClass.cs:1492)
ConnectionGUI:OnConnection(Boolean, String) (at Assets\Game\Scripts\ConnectionGUI.cs:50)
SmartFoxClientAPI.SmartFoxClient:_DispatchEvent(SFSEvent)
SmartFoxClientAPI.SmartFoxClient:DispatchEvent(SFSEvent)
SmartFoxClientAPI.Handlers.SysHandler:HandleApiOK(XmlNode)
SmartFoxClientAPI.Handlers.SysHandler:HandleMessage(Object, String)
SmartFoxClientAPI.SmartFoxClient:XmlReceived(String)
SmartFoxClientAPI.SmartFoxClient:HandleMessage(String)
SmartFoxClientAPI.SmartFoxClient:HandleSocketData()

Error in file: C:/BuildAgent/work/6bc5f79e0a4296d6/Runtime/Mono/MonoManager.cpp at line 2494

Any ideas? I am using Unity 3. :?: Thanks.

Return to “.Net / Unity3D API”

Who is online

Users browsing this forum: No registered users and 27 guests