Hey,
I'm working on a webgame on Unity3D and I'm using SFS 1.6.9 for simple data transfer with my server. I had no problem developing on a Mac, but then when I tested my game on a PC running Windows 7, I noticed that the game crashes when I try to close my browser or leave that page when connection is still active. If I Disconnect from the server before leaving the game page, everything is fine.
I tried in some other machines with Windows 7 and all three major browsers for Windows (Chrome, Firefox and IE) and I still got the same problem. Sometimes it unfreezes after a while. Also ran a few tests with Flash and nothing weird happened.
I am catching the event of login and leaving (USER_LOST, USER_EXIT, ROOM_LOST, LOGOUT) on my extension. Am I doing anything wrong?
Unity3D crashing while SFS connection still active.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Are you using the 1.2.7 plugin? Unity 2.x or 3.x?
(Unity 2.x has a very nasty way of handling socket close that is very often crashing the browser by random. Fixed in Unity 3)
(Unity 2.x has a very nasty way of handling socket close that is very often crashing the browser by random. Fixed in Unity 3)
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 11 guests