This version of Unity is unsupported.
Method group is Obsolete

NetworkIdentity.connectionToServer

Obsolete The high level API classes are deprecated and will be removed in the future. public NetworkConnection connectionToServer;

Description

The UConnection associated with this NetworkIdentity. This is only valid for player objects on a local client.