Jump to content
  • Zombies do not spawn on LinuxDedicatedServer and other problems.


    trueagain
    • Version: A21 b324
    Summary: Zombies do not spawn on LinuxDedicatedServer and other problems.
     
    Game Version:(A21 b324)
    OS/Version:(Server:Rocky Linux / Client:Windows10 ~ Windows11)
    CPU Model:(Server:Intel i9 12900K / Client:AMD Ryzen 9 5950X etc)
    System Memory:(Server:64GB / Client:32GB)
    GPU Model and VRAM:(Intel UHD Graphics 770 / Client:RTX3080Ti 12GB etc)
    Screen Resolution:(Client:1920x1080 ~ 3840×2160)
    Video Settings:(Medium / High)
    Game mode:(Linux Dedicated Server + Windows Client)
     
    Did you wipe old saves? (Yes/No):YES
    Did you start a new game? (Yes/No):YES
    Did you validate your files? (Yes/No):YES
    Are you using any mods? (Yes/No):YES, UIMOD and Display enemy HP MOD
    EAC on or off?:OFF
    Status: NEW
     
    Bug Description:
    After a few hours of starting the Linux dedicated server, errors occur and various problems occur.
     
    Detailed steps to reproduce the bug:
    ・About 1~2 hours after server startup, the following error occurs on the server.
     
    NullReferenceException: Object reference not set to object instance.
      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()(update)
     
    ・The following error occurs every minute or so after that.
    At this point, the game is affected.
     
    ArgumentNullException: The 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
     
    Actual result: (description of what is occurring)
    Zombies will not spawn.
    Quests will only present "hidden supplies". (all players)
    Airdrops will stop in mid-air.
    Dropped items will stop in mid-air.
    Can enter a trader at night if the door is open
    Can be kicked out of a trader at daytime.
    Animal carcasses do not disappear, and you can hear them whimpering every time you hit the carcass.
    Door does not open even if you get the key to the door with POI.
    It did not seem to occur in b313~b317?
     
    Expected result: (what you expect to occur)
    No obstacles that interfere with gameplay.
     
    The materials will be posted at this link.
    Log:2023-07-01T22:39:26~
    https://pastebin.com/1Mz55pYm
    ScreenShot
    https://imgur.com/a/77am0UN

    User Feedback

    Recommended Comments

    We have the same problems on our Windows Server. A restart fix it for a while. Sometimes the player could play four hours, another time it ist after one hour

    Link to comment
    Share on other sites

    9 hours ago, trueagain said:

    Dies gilt nicht für bereits gespawnte Schreier.
    Alle Entitäten (einschließlich Spieler) können mit dem Befehl „killall“ entfernt werden.

    I know. We had kill all and a restart. But sure it could othere reasons why problems there again. It was one time since yesterday. We will test it the hole weekend

    Link to comment
    Share on other sites

    I'm late to the party, but I'm not very good at English.
    Sorry if there are any errors in the translation.

     

    Hmmm
    For your information, my server reboots every 6 hours and there is always someone logged in, over 30 people during peak hours, but I have not experienced any major problems.
    Except for a few rare unexpected server outages, but those are rare.

     

    I believe the zombies stop spawning because the "MaxSpawnedZombies" limit has been reached, what is the result of the "le" command?
    Example: Total of 72 in the game (72Entitys = Player + Trader + Enemy + Animal + Vehicle + Drone + DropItem + EntityLootContainer)
    When the zombies stopped spawning on my server, for example, the breakdown was as follows
    Total of 535 in the game
    Enemy = 500
    Player = 12
    Other = 23
    MaxSpawnedZombies = 500

    Link to comment
    Share on other sites

    Sorry, my mistake.
    It seems that even if I stop the screamer from spawning, the error still occurs and the zombies do not spawn and other problems continue to occur.
    Hopefully this issue will be fixed soon.

    Link to comment
    Share on other sites

    We have test something and maybe it is the problem of this issue. 

    Look at this post it is a player on our server. He have start a discussion.

     

    I have take a look in th 7days Discord, the opinion there from "experts" it is no bug. I think it is and one person have it with 6 Players and Vanilla Server

     

     

    Link to comment
    Share on other sites

    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.

    Link to comment
    Share on other sites

    This issue is caused by quests. its kinda random if it happens or on a quest or not, maybe its related to the kind of poi. fetch quests causing it the most. As workaround you could simply edit the dialog.xml and remove the possibility to start quests at trader.

    Link to comment
    Share on other sites

    I made the following changes on my server and the problem seems to have improved somewhat.
    But verification is inadequate.

    ・blocks.xml
     <property name="HeatMapStrength" value="0"/>
    ・sounds.xml
     heat_map_strength="0"

     

    Link to comment
    Share on other sites

    A21.1b16 seems to be stable without the above problem.
    However, after the update, there is a phenomenon where the FPS drops unexpectedly and then improves after a while.
    This behavior seems to occur not only during quests and base activities, and was not seen before the update.

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...