Unity-Technologies / Unity-Technologies/com.unity.netcode.gameobjects
Allow deactivation of Connected client ids synchronization
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 2.3k
- Fork
- 461
- Merge medio
- 3g 16h
- PR unite (30g)
- 20
Descrizione
Hello, currently the server synchronizes its list of clients connected to the server with all authenticated clients on the server. In my current project, I can't think of any use cases where it's necessary for the server to synchronize all connected clients (except maybe when the server is also a client?).
Being able to disable this function would reduce the number of packets sent by the server (especially on instanced MMOs like my project, which have several hundred connections per server), reduce the chances of attacks on a server instance in one sense because it would avoid a client knowing the number of players on the server.
If this isn't possible, maybe allow to filter which client ids can be shared with clients? In the case where we have a server with instantiated/isolated scenes (as on my project) I don't want clients to see all clients connected to the server, but only the clients in the scene they are in.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Nell’issue non sono identificati file o test. Inizia individuando la sincronizzazione lato server degli ID dei client connessi in Netcode for GameObjects, quindi determina se il comportamento previsto consiste nel disabilitare la sincronizzazione o nel filtrare gli ID in base alla scena. Il lavoro sarà considerato completato quando sarà stata definita una configurazione condivisa e sarà stato verificato che i client ricevano solo le informazioni previste sui client connessi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, unity
- Ambito
- networking
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100