# Error Installing Anti-Cheat samples for Unity 6 

**URL:** <https://forums.unrealengine.com/t/error-installing-anti-cheat-samples-for-unity-6/2858440>\
**Category:** Developer Portal\
**Tags:** epic-online-services, question\
**Created:** [January 25, 2026, 11:23pm UTC](https://forums.unrealengine.com/t/error-installing-anti-cheat-samples-for-unity-6/2858440 "2026-01-25T23:23:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 25, 2026, 11:23pm UTC](https://forums.unrealengine.com/t/error-installing-anti-cheat-samples-for-unity-6/2858440/1 "2026-01-25T23:23:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![EOSPlugin\_Jeff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EOSPlugin\_Jeff](https://forums.unrealengine.com/u/EOSPlugin_Jeff)\
**Post date:** [January 29, 2026, 3:58pm UTC](https://forums.unrealengine.com/t/error-installing-anti-cheat-samples-for-unity-6/2858440/2 "2026-01-29T15:58:30Z")

</div>

Hi Gerard,

As you are upgrading a project from Unity 2021 to Unity 6, have you updated the packages being used to the latest versions for Unity 6?

Please check and update the following packages to the latest version

- EOS Plugin
- Netcode for GameObjects
- Unity Transport
- Unity Services Relay
- Unity.Collections
- Collections.CodeGen
- Burst
- Mathematics

If you are testing the sample application included in the EOS Unity Plugin and still encountering this error, could you provide the following information?

- Unity version
- EOS Plugin version

-Jeff
