Filed / Tracking Prefabs with Long Names get deleted by the Server from the Factory [08020]

Discussion in 'Tracking / Filed' started by Garaman, Jun 16, 2021.

  1. Garaman

    Garaman Captain

    Joined:
    Aug 23, 2020
    Messages:
    594
    Likes Received:
    738
    Build: 3376
    Mode: Survival
    Mode: Single Player / Multiplayer

    Reproducibility: Always
    Severity: Minor

    Type: Blueprint Factory

    Summary: If a save game (or server cache) name and a blueprint filename are long enough, adding the blueprint to your factory will result in an empty factory display and the blueprint will not be spawnable in-game.

    Description:
    This can occur on most Windows systems with the default setting of the system max path as 260 characters. When adding a blueprint to the factory for construction a long enough save game name paired with a long enough blueprint name can result in a cache path that exceeds the max path length, preventing the file from being copied into the cache. This results in a silent error (logged) and the blueprint becomes unspawnable.

    Steps to Reproduce:
    1) Subscribe to the blueprint posted here: https://steamcommunity.com/sharedfiles/filedetails/?id=2518106938. The name in this blueprint was edited on the Steam workshop page to be longer than the Empyrion in-game UI normally allows.
    2) Load the attached savegame. Its name is the longest that the UI allows you to enter.
    3) Bring up the factory and look for the SV blueprint called "Spectacular Super Soarer". Add it to your factory.
    4) Note that the materials list is empty. Eventually the factory page will reset. The console and log show a file error and that the cached epb was deleted.

    The relevant log error is as follows:
    Note that the combined path length for the cached epb file here is 274 characters:
    Update: I just increased the name of the blueprint slightly (appending ", bar none"). It should now manifest if your have your game installed in a folder like "C:\Steam" instead of the Program Files folder.

    Empty factory page:
    upload_2021-6-15_23-3-41.png

    Errors in console:
    upload_2021-6-15_23-3-52.png
     

    Attached Files:

    #1
    Last edited: Jun 16, 2021
  2. Germanicus

    Germanicus Rear Admiral

    Joined:
    Jan 22, 2018
    Messages:
    4,491
    Likes Received:
    8,521
    Did you try this also with the Vanilla Game?
    Your screenshot of the Console seems to show items 'skipped' from a Reforged-Scenario
     
    #2
  3. Garaman

    Garaman Captain

    Joined:
    Aug 23, 2020
    Messages:
    594
    Likes Received:
    738
    I provided a vanilla save. I think the console errors happen when you have Reforged blueprints and the list gets parsed for the vanilla scenario.
     
    #3
    Germanicus likes this.
  4. Germanicus

    Germanicus Rear Admiral

    Joined:
    Jan 22, 2018
    Messages:
    4,491
    Likes Received:
    8,521
    Ok, just asking:).
     
    #4
    Garaman likes this.
  5. Taelyn

    Taelyn Guest

    The IdMapping is nothing to worry about. Just a hint that you have blueprints that have blocks that arnt added in the config files of your Current SaveGame
     
    #5
    Germanicus likes this.
  6. Pear78

    Pear78 Captain

    Joined:
    Dec 18, 2018
    Messages:
    258
    Likes Received:
    195
    #blamePear with his stupid long names
    Ebemidej ran into this issue on the Anvil server with one of my builds. I downloaded same build from the workshop, same issue
    the version on my harddisk didnt have the long title and was fine
    Garaman for president, for reproducing so quickly!

    (I am suspecting the temp. fix for this is as easy as renaming the BP in your list to something shorter)
     
    #6
    Last edited: Jun 16, 2021
    Germanicus likes this.
  7. Taelyn

    Taelyn Guest

    Filed. Note ONLY reproduceable in MP not in SP
     
    #7
    Germanicus likes this.
  8. Garaman

    Garaman Captain

    Joined:
    Aug 23, 2020
    Messages:
    594
    Likes Received:
    738
    The case I submitted was reproducible in SP. I think it happens more often in MP because the save game name in the cache folder for an MP game is something like "Anvil_RE_S2_103.195.101.200_1875905382", which just adds to the path length. It has to be a combination of Steam / EGS install location, save game name, and blueprint name that together push the path over the limit.
     
    #8
    Pear78 likes this.
  9. I was able to reproduce in SP.....

    I just did the same things that were reported above.
    Default vanilla.
     
    #9
    Pear78 and Germanicus like this.
  10. Taelyn

    Taelyn Guest

    So did i and it worked fine in SP

    I reproduced it instant in MP it will be looked at.
     
    #10
    Pear78 likes this.
  11. Pear78

    Pear78 Captain

    Joined:
    Dec 18, 2018
    Messages:
    258
    Likes Received:
    195
    might be a different of folder path lenght between users, that is the variable here for SP reproducability?
    ( i.a.w. I am suspecting that if you re-name your Empyrion folder to something longer, I think you than can reproduce in SP too @Taelyn )
     
    #11
  12. Taelyn

    Taelyn Guest

    Ill try that out
     
    #12
    Germanicus likes this.
  13. Garaman

    Garaman Captain

    Joined:
    Aug 23, 2020
    Messages:
    594
    Likes Received:
    738
    C:\Program Files (x86)\Steam\steamapps\common\Empyrion - Galactic Survival\Client/../Saves/Games/A game with a really long name/Players/76561197960439502/BpFactory/Spectacular Super Soarer (quite possibly the greatest ship that I have ever made, bar none)/Spectacular Super Soarer.epb

    Green = Steam install location, configurable by user
    Yellow = SP savegame name, configurable by user
    Orange = Name of blueprint as edited through Steam workshop page, configurable by blueprint author
    Red = Original blueprint name, configurable by blueprint author

    I think the Steam ID number in there is the same length for everyone, but not sure. Everything else I think is hard-coded, or is at least the defaults on my install. If the combination of these elements results in a path > 260 characters, it will manifest.
     
    #13
    Pear78 and Taelyn like this.

Share This Page