This is happening in our server as well, the more users joining and leaving worst it is.
May I added some log outputs as well?
2023-07-12T10:53:40 13947.494 ERR [EOS-ACS] Failed unregistering user: InvalidState
2023-07-12T10:53:40 13947.495 INF GMSG: Player '????????' left the game
2023-07-12T10:53:40 13947.495 INF Exited thread NCS_Writer_1_0
InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary`2+Enumerator[TKey,TValue].MoveNext () [0x00013] in <b0b74789f1894dcc9a389d6f5a51da7d>:0
at Audio.Server.Play (Entity playOnEntity, System.String soundGroupName, System.Single _occlusion) [0x00070] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at Audio.NetPackageAudio.ProcessPackage (World _world, GameManager _callbacks) [0x00056] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000c8] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at ConnectionManager.Update () [0x000a1] in <faea3a5b1cd24d60977fa28c6573de8f>:0
2023-07-12T10:53:40 13947.497 ERR [EOS] [LogEOSAntiCheat - Error] [AntiCheatServer] EOS_AntiCheatServer_UnregisterClient called from unknown thread. One thread must be used to interact with all EOS functions unless otherwise noted.
2023-07-12T10:53:40 13947.497 ERR [EOS-ACS] Got message for unknown client number: 15
2023-07-12T10:53:40 13947.497 ERR [EOS-ACS] Got message for unknown client number: 15
2023-07-12T10:53:40 13947.497 INF NET: LiteNetLib: Client disconnect from: xxx.xxx.xxx.xxx:yyyyy (RemoteConnectionClose)
2023-07-02T16:11:39 4181.438 WRN NET: LiteNetLib: Ping requested for unknown client EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2023-07-02T16:11:39 4181.438 WRN NET: LiteNetLib: Ping requested for unknown client EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2023-07-02T16:11:40 4182.586 WRN NET: LiteNetLib: IP requested for unknown client EntityID=25941, PltfmId='Steam_xxxxxxxxxxxxxxxxx', CrossId='EOS_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', OwnerID='Steam_xxxxxxxxxxxxxxxxx', PlayerName='???????'
2023-07-02T16:11:41 4183.339 INF Entity zombieYo 147180 killed by joaquinreula 181
2023-07-02T16:11:43 4185.693 ERR ERROR: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary`2+ValueCollection+Enumerator[TKey,TValue].MoveNext () [0x00013] in <b0b74789f1894dcc9a389d6f5a51da7d>:0
at PersistentPlayerData.ProcessBackpacks (System.Action`1[T] action) [0x00022] in <17f99f72172c44d5900a2b4cfa238a2c>:0
at GameUtils.ProcessProtectedChunks (System.Action`2[T1,T2] processor) [0x00194] in <17f99f72172c44d5900a2b4cfa238a2c>:0
at RegionFileManager.UpdateChunkProtectionLevels () [0x00024] in <17f99f72172c44d5900a2b4cfa238a2c>:0
at RegionFileManager.CullExpiredChunks () [0x0003f] in <17f99f72172c44d5900a2b4cfa238a2c>:0
at RegionFileManager.DoSaveChunks () [0x00078] in <17f99f72172c44d5900a2b4cfa238a2c>:0
2023-07-02T16:11:44 4186.487 WRN NET: LiteNetLib: Ping requested for unknown client EntityID=25941, PltfmId='Steam_xxxxxxxxxxxxxxxxx', CrossId='EOS_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', OwnerID='Steam_xxxxxxxxxxxxxxxxx', PlayerName='???????'
2023-07-02T16:11:44 4186.487 WRN NET: LiteNetLib: Ping requested for unknown client EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2023-07-04T19:40:43 2434.458 INF Entity zombieFatHawaiianFeral 242853 killed by xxxxxxxxxxxxxxxx 281
NullReferenceException: Object reference not set to an instance of an object
at GameManager+<ResetWindowsAndLocks>d__259.MoveNext () [0x00079] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <799d47ea3fd1460380efad1aacedaf7c>:0
UnityEngine.MonoBehaviour:StartCoroutineManaged2(MonoBehaviour, IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
NetPackageQuestEvent:ProcessPackage(World, GameManager)
ConnectionManager:ProcessPackages(INetConnection, NetPackageDirection, ClientInfo)
ConnectionManager:Update()
2023-07-04T19:40:45 2436.557 INF 2398.746 SleeperVolume 1695, 35, -546: Spawning 1698, 39, -543 (106, -34), group 'sleeperHordeStageGS225', class zombieBoeRadiated, count 96
2023-07-04T19:45:17 2708.745 INF 50027 VehicleManager write #12, id 220806, vehicleBicycle, (448.3, 35.0, -225.2), chunk 28, -15
2023-07-04T19:45:17 2708.746 INF VehicleManager saved 6119 bytes
ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <b0b74789f1894dcc9a389d6f5a51da7d>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <b0b74789f1894dcc9a389d6f5a51da7d>:0
at TriggerManager.TriggerBlocks (EntityPlayer player, PrefabInstance instance, BlockTrigger trigger) [0x00009] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at Block.HandleTrigger (EntityPlayer _player, World _world, System.Int32 _cIdx, Vector3i _blockPos, BlockValue _blockValue) [0x0006c] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at NetPackageBlockTrigger.ProcessPackage (World _world, GameManager _callbacks) [0x00033] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000c8] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at ConnectionManager.Update () [0x000a1] in <faea3a5b1cd24d60977fa28c6573de8f>:0
2023-07-04T19:45:22 2713.144 INF Entity zombieSteve 242981 killed by el Titi 25941
2023-07-04T19:51:57 3108.981 INF GMSG: Player 'xxxxxxxxx' left the game
2023-07-04T19:51:57 3108.982 INF Exited thread NCS_Writer_1_0
InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet`1+Enumerator[T].MoveNext () [0x00013] in <b222d7464ce94b88b2a6d383411e95be>:0
at NetEntityDistributionEntry.SendToPlayers (NetPackage _packet, System.Int32 _excludePlayer) [0x00034] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at NetEntityDistribution.SendPacketToTrackedPlayers (System.Int32 _entityId, System.Int32 _excludePlayer, NetPackage _package) [0x00015] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at NetPackageEntitySpeeds.ProcessPackage (World _world, GameManager _callbacks) [0x00046] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000c8] in <faea3a5b1cd24d60977fa28c6573de8f>:0
at ConnectionManager.Update () [0x000a1] in <faea3a5b1cd24d60977fa28c6573de8f>:0
2023-07-04T19:51:57 3108.982 ERR [EOS] [LogEOSAntiCheat - Error] [AntiCheatServer] EOS_AntiCheatServer_UnregisterClient called from unknown thread. One thread must be used to interact with all EOS functions unless otherwise noted.
2023-07-04T19:51:57 3108.982 INF NET: LiteNetLib: Client disconnect from: xxx.xxx.xxx.xxx:xxxxxx (RemoteConnectionClose)
Those errors are shown in our server right before the zombies spawn becomes bugged, it may randomly crash after people leave, plus there is many unexpected server shutdowns /day, **and becomes very unstable once we hit 20~30 people in.