Unity-Technologies / multiplayer-community-contributions

Community contributions to Unity Multiplayer Networking products and services.
MIT License
435 stars 163 forks source link

References to Unity.Netcode.Transports.UNET causing errors when importing the package #243

Open A7AATE opened 11 months ago

A7AATE commented 11 months ago

In the "ExampleNetworkDiscoveryHud.cs" and "NetworkManagerHud.cs" files, there's a using Unity.Netcode.Transports.UNET that serves no apparent purpose but is referencing UNET, which was removed from Unity a while ago. This causes the package to give 2 compilation errors when first imported.

A fix for this would be very appreciated.

LILQK commented 10 months ago

If u delete the line that is causing the error, everything is working fine. That line is not even used. :)