How many clients can connect to a unity3d server??

What is the total amount of clients that can connect to a unity3d server.

Meaning if I create a server using unity3d only and run it in background. How many client connections are supported?

Depends on your computer :wink:

Ok so your saying that if I have a unity3d server it can take as many connections as my computer can sustain?

yeah

Just throwing this out there but what If I had a unity server. The only thing that’s being transferred between the server and a client is small amounts of data say every 5 seconds.

Do you think a Quad Core windows server hosting the unity server application would be able to support for example 40,000 connected players?

Is that a feasible assumption?

again, depends on ur internet and upload speed, and ur computer.

let’s assume that a hosting that costs today 150$/mo can host like 200 ~ 300 people… (assuming it’s mmorpg or virtual world game)

if it’s fps game or something like that the player creates a room then he hosts the room on his own using the masterserver.registerhost function…

40,000?!!!?? WOW.

Anyways, Unity’s built in networking is not a MMO ready networking solution. 40,000 is definitely not feasible in Unity.

An MMO is very server intensive. But I’m not talking about an MMO.

For a far out example: A chat room in which 40,000 people are in one room. The only thing being sent around is string text.

Would a Unity server be capable of handling that with adequate CPU resources?

Oh, quite possibly. Should work.

40,000 people in a chatroom eh?
I presume it will be a few chatrooms all controlled by the same server?

Anyways, ya, it should probably work.

Cool :smile:.

40k in a single chatroom though would require a bandwidth you can’t pay and won’t get in the sub 10k range.
Also the server might have a hard time doing it as it runs on a single thread, not X threads to use the multicore so the other cores are of no use.

For such a multicore but 1 environment case, Photon - Neutron - SmartFox Pro are worlds better suited actually

Is it possible to run multiple Unity server instances on a single server using core affinity?