Search found 56 matches
- 22 Jun 2012, 07:58
- Forum: SFS2X C# API
- Topic: Client crashing / stuck on connection lost
- Replies: 25
- Views: 33974
Re: Client crashing / stuck on connection lost
Actually we still have a problem with the web player crashing when the connection with the server is lost. Manually calling disconnect in the CONNECTION_LOST listener fixes the problem in the Unity Editor but not on the web player. Any help would be appreciated because we cannot ship if the client c...
- 11 Jun 2012, 10:50
- Forum: SFS2X C# API
- Topic: Client crashing / stuck on connection lost
- Replies: 25
- Views: 33974
Re: Client crashing / stuck on connection lost
From what I've seen on these other issues you have to call disconnect so that Unity doesn't crash. So in my CONNECTION_LOST listener I now do if( server != null && server.IsConnected ) server.Disconnect(); This seems to fix the problem. I was simply setting server to null beforehand because ...
- 11 Jun 2012, 10:23
- Forum: SFS2X C# API
- Topic: Client crashing / stuck on connection lost
- Replies: 25
- Views: 33974
Re: Client crashing / stuck on connection lost
Hi,
Yes I just downloaded the updates and this is still happening. Note that ( as before ) I do get a connection lost error at the client however the tab or Unity editor still hangs.
Regards
Yes I just downloaded the updates and this is still happening. Note that ( as before ) I do get a connection lost error at the client however the tab or Unity editor still hangs.
Regards
- 11 Jun 2012, 09:05
- Forum: SFS2X C# API
- Topic: Client crashing / stuck on connection lost
- Replies: 25
- Views: 33974
Client crashing / stuck on connection lost
Hello, We are using Smartfox and Unity for a multiplayer game. The game is built for the web player. The problem is that if the client loses its connection with the Server then the tab that holds the Unity web player will just hang. The same happens with the Unity editor. If I am playing the game in...
- 17 May 2012, 15:11
- Forum: SFS2X C# API
- Topic: Client-side RoomManager - UserManager memory usage
- Replies: 2
- Views: 5092
Re: Client-side RoomManager - UserManager memory usage
Ah ok thank you.
- 17 May 2012, 09:29
- Forum: SFS2X C# API
- Topic: Client-side RoomManager - UserManager memory usage
- Replies: 2
- Views: 5092
Client-side RoomManager - UserManager memory usage
Hello,
If I have a Zone with 100.000 users joined in various Rooms, does that mean that at the client side Smartfox keeps 100.000 instances of the User class somewhere in memory?
Thank you
If I have a Zone with 100.000 users joined in various Rooms, does that mean that at the client side Smartfox keeps 100.000 instances of the User class somewhere in memory?
Thank you
- 04 May 2012, 13:55
- Forum: SFS2X Questions
- Topic: Is the user list from getUserList, thread-safe?
- Replies: 3
- Views: 5040
Re: Is the user list from getUserList, thread-safe?
Ah ok. And is this true for all the other functions that return a list?
- 03 May 2012, 10:33
- Forum: SFS2X Questions
- Topic: Is the user list from getUserList, thread-safe?
- Replies: 3
- Views: 5040
Is the user list from getUserList, thread-safe?
Hello,
Is the user list that we get from calling SFSRoom.getUserList(), thread-safe? By that I mean can we iterate through the users without worrying if another one will be added to the list while iterating or do we have to lock the list before iterating through it?
Thanks
Is the user list that we get from calling SFSRoom.getUserList(), thread-safe? By that I mean can we iterate through the users without worrying if another one will be added to the list while iterating or do we have to lock the list before iterating through it?
Thanks
- 23 Apr 2012, 15:40
- Forum: SFS2X C# API
- Topic: Is the SFS2X Unity Client API multithreaded?
- Replies: 2
- Views: 5202
Re: Is the SFS2X Unity Client API multithreaded?
Ah ok thank you very much
- 23 Apr 2012, 08:19
- Forum: SFS2X C# API
- Topic: Is the SFS2X Unity Client API multithreaded?
- Replies: 2
- Views: 5202
Is the SFS2X Unity Client API multithreaded?
Hello, I was wondering if the .Net client API for Unity is multi-threaded. I noticed in one of the tutorials ( I think in a chat example ) that the code locks before adding a message to a list. This is not needed if the listener is not called asynchronously. But are listeners called asynchronously? ...
- 03 Oct 2011, 09:27
- Forum: SFS2X C# API
- Topic: Unity 3, webplayer security model and SFS2X policy server
- Replies: 20
- Views: 69968
Hello, I also have an issue with this. I added this line Security.PrefetchSocketPolicy in the Start function and all works in the computer where I have smartfox installed. However when I try to connect with my laptop which is inside the network with an ip like 192.168.xxx.xxx nothing seems to happen...