I’m trying to setup Easy Anti Cheat for an older Unity game we’re in the process of updating and reviving. I followed the unity plugin, but it’s built against an older 2021.3.16fi, and we’re using Unity 6. When I imported the last sample set I received the following error, but I’m not sure where to begin.
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\UnityTransport.cs(563,31): error CS1061: ‘RelayServerData’ does not contain a definition for ‘ComputeNewNonce’ and no accessible extension method ‘ComputeNewNonce’ accepting a first argument of type ‘RelayServerData’ could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\UnityTransport.cs(937,17): error CS0103: The name ‘NetworkPipelineStageCollection’ does not exist in the current context
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\BatchedReceiveQueue.cs(28,28): error CS1501: No overload for method ‘ReadBytes’ takes 2 arguments
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\UnityTransport.cs(959,17): error CS0103: The name ‘NetworkPipelineStageCollection’ does not exist in the current context
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\BatchedReceiveQueue.cs(65,28): error CS1501: No overload for method ‘ReadBytes’ takes 2 arguments
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\BatchedSendQueue.cs(82,28): error CS1501: No overload for method ‘WriteBytes’ takes 2 arguments
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\BatchedSendQueue.cs(152,34): error CS1729: ‘DataStreamReader’ does not contain a constructor that takes 2 arguments
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\BatchedSendQueue.cs(171,32): error CS1501: No overload for method ‘WriteBytes’ takes 2 arguments
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\Transports\UTP\BatchedSendQueue.cs(208,24): error CS1501: No overload for method ‘WriteBytes’ takes 2 arguments
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\NetworkVariable\Collections\NetworkList.cs(405,47): error CS0411: The type arguments for method ‘NativeArrayExtensions.IndexOf<T, U>(NativeArray<T>, U)’ cannot be inferred from the usage. Try specifying the type arguments explicitly.
Library\PackageCache\com.unity.netcode.gameobjects@223730174cc7\Runtime\NetworkVariable\Collections\NetworkList.cs(412,47): error CS0411: The type arguments for method ‘NativeArrayExtensions.IndexOf<T, U>(NativeArray<T>, U)’ cannot be inferred from the usage. Try specifying the type arguments explicitly.
Assembly ‘Library/ScriptAssemblies/Unity.Collections.CodeGen.dll’ will not be loaded due to errors:
Unable to resolve reference ‘Unity.Collections’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.