Fixed Game freeze/hang on weapon reload [1075]

Discussion in 'Fixed (Read Only)' started by Insopor, Aug 28, 2023.

  1. Insopor

    Insopor Commander

    Joined:
    Oct 17, 2021
    Messages:
    147
    Likes Received:
    122
    For more information see here Bug Report Template

    Build:1.10.03 4241
    Mode:any
    Mode:any

    SERVER NAME:Official NA, EU, any
    SEED-ID:

    If applicable:
    MODIFIED PLAYFIELDS:nope

    Reproducibility:always
    Severity:depends on situation; ranges from annoyance to causing player deaths

    Type:lag/freeze/performance

    Summary:Opening a menu between weapon reloads will cause a slight hang on next reload

    Description:Given the above, if you open the player menu before reloading a gun or tool, there will be a short hang or freeze when you reload the gun the next time. Under optimal conditions, it is very slight, but in the middle of combat or when there is a lot of outside performance impact (such as many ships, large POIs, struggling PC hardware, etc) the slight freeze can turn into a massive one, up to nearly a full second. This can and will and has caused many player deaths. Others have said it and I know it's happened to me many times.

    The player menu alone can reproduce the effect every single time (see video). I can get the same effect from other menus, but it's not consistent when opening logistics or pda, though it does happen. Other players have reported opening loot containers or looting bodies can cause this as well, but I haven't confirmed myself.

    This only seems to occur on foot, not in vehicles.
    It does not seem to happen when reloading normally. Even over and over or using different weapons in between.
    I don't know if it helps, but I suspect some trigger is causing the game to offload the animation or sound effect file, perhaps even some cached value of ammo counts which would then require a call to the database. I don't know, I'm no programmer. lol

    Steps to Reproduce:
    1)shoot some rounds from a gun or tool
    2)open the player menu with TAB
    3)reload the gun or tool (doing so while moving should make the interruption of motion more noticeable)

    Screenshots, Crash Logs, any other Relevant Information or Download links:
     
    #1
  2. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,199
    Likes Received:
    5,609
    A fix for this will be available in our next major release.
     
    #2
    Ente, Slam Jones, Myrmidon and 2 others like this.
  3. Terenil

    Terenil Ensign

    Joined:
    Jul 1, 2023
    Messages:
    14
    Likes Received:
    2
    Ooooh, what was the cause? Also, does this have any relation to the lag when first looking through a scope?
     
    #3
  4. Elfias

    Elfias Commander

    Joined:
    Jun 6, 2016
    Messages:
    7
    Likes Received:
    7
    If this is not a joke....its good job.

    Guys please just keep fixing and keep adding some QoL...connection to left or right bar, not just right, release us finaly from this hell of thousands of unnecessary clicks.

    Would be nice to know the cause :)
     
    #4
  5. Myrmidon

    Myrmidon Rear Admiral

    Joined:
    Mar 26, 2016
    Messages:
    1,733
    Likes Received:
    2,060
    They never make such jokes...
     
    #5

Share This Page