Networking: How to access local client's owned objects?
I'm working on a networked game where each client can have authority over multiple objects. This all works as expected, however I'm having trouble finding a centralized place to access all of my local client's owned objects. I tried NetworkManager.client.connection.clientOwnedObjects, but it doesn't contain the objects I am expecting. I suspect that this NetworkConnection represents my connection to the server and would contain server-owned objects. However on the server side, the NetworkConnection representing the client in question DOES have the entries I was expecting in its clientOwnedObjects field. So it looks like I can only see what clients own from the server's point of view.
Is there no way to access this on the owning client?
Your answer
![](https://koobas.hobune.stream/wayback/20220612090347im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Bullet has wrong direction on client 0 Answers
Unity UNet Correct Usage, Unity 5.4 Beta 0 Answers
Unity 5 Unet Network Rigidbody Syncing - Client sinking through objects. 0 Answers
UNET server object that has local authority for all players. 0 Answers
Unet - similar spawn functions acting different, client scale not transferring 1 Answer