UnityEngine.Networking
for Mirror
everywhere in your project. For example, if you have this:NetworkConnection.playerController
with NetworkConnection.identity
. sendInterval
is now set in code and / or the inspector too.Mirror.SyncListStruct
without checking the namespace. In Mirror, we fixed SyncLists so that they work with structs by default.NetworkIdentity
from Unet, and you need to replace that component with NetworkIdentity
from Mirror. You may be using other network components, such as NetworkAnimator
or NetworkTransform
. All components from Unet should be replaced with their corresponding component from Mirror.OnServerAddPlayer
override, remove the "playerControllerId" and "extraMessageReader" parameters from your override and the base call:TelepathyTransport
component by default. Drag in one of the available transports and remove TelepathyTransport
if you wish to use a UDP based transport instead.error CS0246: The type or namespace name 'UnityWebRequest' could not be found. Are you missing 'UnityEngine.Networking' using directive?
UnityWebRequest
is not part of UNet or Mirror, but it is in the same namespace as UNet. Changing the namespace to Mirror caused your script not to find UnityWebRequest. The same applies for WWW
and all UnityWebRequest
related classes.