Hello, I'm attempting to stress test an existing unity based MMO using SmartFox but I've run into difficulties and I was wondering if my current approach was possible.
I'm creating multiple threads in C# and having them initialize a smart fox client and then connect to the server. I've been able to connect one client at time to the server when when I try to make another one in a different thread, it crashes. I think the issue is that when smartFoxClient initializes, it populates a static hash table so when future client are initialized,
they try to populate the same table with the same values but I could be mistaken.
Anyone know if creating multiple smartfox clients in the same process is possible or if my approach is flawed. If it's no possible, how would you go about this? I'd rather not try to run 100 instances of unity at the same time just to check how the server handles heavy load.
Multiple SmartFoxClients
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 25 guests