Quantcast
Channel: Latest Questions by ken 2
Viewing all articles
Browse latest Browse all 4

discrepancy between networkviewID.owner on different clients?

$
0
0

Hi,

We're using a non-dedicated server setup, with players able to join at any time. After the first client joins, the player list looks something like this on each client:

1. ViewID 0, owner 0 (the server)
2. ViewID 150, owner 1 (the first client to join)

Great! But when my second client joins, the server and each client report different owners for the same viewIDs!

SERVER (accurate):
1. ViewID 0, owner 0
2. ViewID 150, owner 1
3. ViewID 300, owner 2

FIRST CLIENT
1. ViewID 0, owner 0
2. ViewID 150, owner 1
3. ViewID 300, owner 0

SECOND CLIENT
1. ViewID 0, owner 0
2. ViewID 150, owner 0
3. ViewID 300, owner 2

The networkviewIDs are being allocated from the client side when each client connects to the server. The client then sends their info (including the new viewID) to each other client, and the server sends all existing client info to the new client via RPC.

Any ideas?

We've also tried reseting the network views and setting SetScope to true, as advised here and here.


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images