Where can I find the ip address of the server i’m connected to from the client with just the standard unity networking?
Thanks.
Where can I find the ip address of the server i’m connected to from the client with just the standard unity networking?
Thanks.
GetConnectionInfo(…) i think, but it will be ip address which client seeing. If client and server belongs the same local network it will be internal address
Easiest way IMO. Get your own NetworkIdentity. (GetComponent()). In the networkidentity access connectionToServer and there you will have all info you need