Error uploading preview file. Make sure you got a valid connection to Steam.



  • Today and Yesterday, I’ve been getting this error trying to upload my latest star wars build to workshop.

    Error uploading preview file. Make sure you got a valid connection to Steam.

    [COMMANDLET 'UDKEditor.exe make -full' STARTED IN ''] Jan 18, 7:23 AM
    Init: Version: 10246
    Init: Epic Internal: 0
    Init: Compiled (64-bit): Dec 14 2015 20:23:37
    Init: Command line:  -full
    Init: Base directory: D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Binaries\Win64\
    Init: Character set: Unicode
    Log: Executing Class UnrealEd.MakeCommandlet
    --------------------Core - Release--------------------
    --------------------Engine - Release--------------------
    --------------------IpDrv - Release--------------------
    --------------------GFxUI - Release--------------------
    --------------------GameFramework - Release--------------------
    --------------------UnrealEd - Release--------------------
    --------------------GFxUIEditor - Release--------------------
    --------------------WinDrv - Release--------------------
    --------------------OnlineSubsystemPC - Release--------------------
    --------------------OnlineSubsystemGameSpy - Release--------------------
    --------------------OnlineSubsystemLive - Release--------------------
    --------------------OnlineSubsystemSteamworks - Release--------------------
    --------------------UDKBase - Release--------------------
    --------------------UTEditor - Release--------------------
    --------------------UTGame - Release--------------------
    --------------------UTGameContent - Release--------------------
    --------------------AOC - Release--------------------
    --------------------AOCCustomizationContent - Release--------------------
    --------------------AOCAudioContent - Release--------------------
    --------------------StarWars - Release--------------------
    Analyzing...
    D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Development\Src\StarWars\Classes\StarWarsKOTH.uc(72) : Warning, Unknown property in defaults: linenumber=75 (looked in StarWarsKOTH)
    Scripts successfully compiled - saving package 'D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Binaries\Win64\..\..\UDKGame\ContentSDK\StarWars.u'
    Warning/Error Summary
    ---------------------
    D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Development\Src\StarWars\Classes\StarWarsKOTH.uc(72) : Warning, Unknown property in defaults: linenumber=75 (looked in StarWarsKOTH)
    Success - 0 error(s), 1 warning(s)
    Execution of commandlet took:  9.99 seconds
    [Jan 18, 7:24 AM] COMMANDLET 'UDKEditor.exe make -full' SUCCEEDED
    [COMMANDLET 'UDKEditor.exe make -final_release -full' STARTED IN ''] Jan 18, 7:24 AM
    Init: Version: 10246
    Init: Epic Internal: 0
    Init: Compiled (64-bit): Dec 14 2015 20:23:37
    Init: Command line:  -final_release -full
    Init: Base directory: D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Binaries\Win64\
    Init: Character set: Unicode
    Log: Executing Class UnrealEd.MakeCommandlet
    --------------------Core - Release--------------------
    --------------------Engine - Release--------------------
    --------------------IpDrv - Release--------------------
    --------------------GFxUI - Release--------------------
    --------------------GameFramework - Release--------------------
    --------------------UnrealEd - Release--------------------
    --------------------GFxUIEditor - Release--------------------
    --------------------WinDrv - Release--------------------
    --------------------OnlineSubsystemPC - Release--------------------
    --------------------OnlineSubsystemGameSpy - Release--------------------
    --------------------OnlineSubsystemLive - Release--------------------
    --------------------OnlineSubsystemSteamworks - Release--------------------
    --------------------UDKBase - Release--------------------
    --------------------UTEditor - Release--------------------
    --------------------UTGame - Release--------------------
    --------------------UTGameContent - Release--------------------
    --------------------AOC - Release--------------------
    --------------------AOCCustomizationContent - Release--------------------
    --------------------AOCAudioContent - Release--------------------
    --------------------StarWars - Release--------------------
    Analyzing...
    D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Development\Src\StarWars\Classes\StarWarsKOTH.uc(72) : Warning, Unknown property in defaults: linenumber=75 (looked in StarWarsKOTH)
    Scripts successfully compiled - saving package 'D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Binaries\Win64\..\..\UDKGame\ContentSDK\StarWars.u'
    Warning/Error Summary
    ---------------------
    D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Development\Src\StarWars\Classes\StarWarsKOTH.uc(72) : Warning, Unknown property in defaults: linenumber=75 (looked in StarWarsKOTH)
    Success - 0 error(s), 1 warning(s)
    Execution of commandlet took:  3.16 seconds
    [Jan 18, 7:24 AM] COMMANDLET 'UDKEditor.exe make -final_release -full' SUCCEEDED
    [COMMANDLET 'UDKEditor.exe CookPackages -nohomedir -platform=PC StarWars -Guid=58A1FDAC44C20155CACBBC95B010C38C -final_release -multilanguagecook=INT -ModName=StarWars' STARTED IN ''] Jan 18, 7:24 AM
    Init: Version: 10246
    Init: Epic Internal: 0
    Init: Compiled (64-bit): Dec 14 2015 20:23:37
    Init: Command line:  -nohomedir -platform=PC StarWars -Guid=58A1FDAC44C20155CACBBC95B010C38C -final_release -multilanguagecook=INT -ModName=StarWars
    Init: Base directory: D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Binaries\Win64\
    Init: Character set: Unicode
    Log: Executing Class UnrealEd.CookPackagesCommandlet
    Log: Read config file: ..\..\Engine\Localization\INT\UnrealEd.INT
    Cooking with SEPARATE Lighting TextureFileCache...
    Cooking with SEPARATE Character TextureFileCache...
    Ignoring multithreaded flag because of incompatible options...
    
    GeneratePersistentMapList> Clearing existing lists
        There are 0 levels to process
    Loading base level ..\..\UDKGame\ContentSDK\StarWars.u
    Building adjacency information for static mesh 'SW_WP_Bowcaster.SM_Bowcaster'.
    Warning, Forcing UseTextureFileCache to FALSE for CookedPC...
    Running w/ PMap Object size optimization DISABLED.
    Fontlib/IME package UDKFrontEnd not found
    INT resources will be substituted for missing LOC packages
    Materials will be cleaned up...
    StaticMesh materials will be cleaned up...
    StaticMesh CleanUp: Adding Class      : Engine.ActorFactory
    StaticMesh CleanUp: Adding Class      : Engine.SequenceObject
    TagCookedStartupObjects> Using Shipped PersistentCookerData - this must be DLC...
    Tagging 0 already handled materials
    Tagging 0 already handled material instances
    Cooking StarWars
    Building adjacency information for static mesh 'SW_WP_Bowcaster.SM_Bowcaster'.
    Copying shader cache SDKShaderCache-PC-D3D-SM3.upk
    Copying shader cache SDKShaderCache-PC-D3D-SM5.upk
    Copying shader cache SDKShaderCache-PC-OpenGL.upk
    Warning/Error Summary
    ---------------------
    Warning, Forcing UseTextureFileCache to FALSE for CookedPC...
    Success - 0 error(s), 1 warning(s)
    Execution of commandlet took:  25.85 seconds
    [Jan 18, 7:25 AM] COMMANDLET 'UDKEditor.exe CookPackages -nohomedir -platform=PC StarWars -Guid=58A1FDAC44C20155CACBBC95B010C38C -final_release -multilanguagecook=INT -ModName=StarWars' SUCCEEDED
    Copied DefaultStarWars.ini into cooked directory "..\UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C"
    Copied Localization
    [Uploading to Steam] Jan 18, 7:25 AM
    [FILE WRITE TO '..\UDKGame\CookedSDK\__CMWSDKFiles\wsinfo_StarWars.txt' FAILED] Jan 18, 7:25 AM
    System.IO.IOException: The process cannot access the file '..\UDKGame\CookedSDK\__CMWSDKFiles\Starwars.png' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
       at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
       at SDKFrontend.Pipeline.WorkshopUpload.Execute(IProcessManager ProcessManager, Profile InProfile)
    [COMMANDLET 'WorkshopUserTool.exe wsinfo_StarWars.txt' STARTED IN 'D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\Binaries\Win32'] Jan 18, 7:25 AM
    WSTOOL:    Initializing Steam client
    Looking for $MicroTxItem
    Found $MicroTxItem
    Looking for $MapContest
    Waiting for Steam task to finish.  
    WSTOOL:    Getting file details for user Workshop FileId: 345101687
    ----->    Successfully got file details for FileId: 345101687, Filename: "AOCSDKLevels_3EBD20DA41A5794C17DCE0B78AD6FC45.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 424219668
    ----->    Successfully got file details for FileId: 424219668, Filename: "AOCSDKLevels_564F6C7345BC886222B72291114291E4.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 326432827
    ----->    Successfully got file details for FileId: 326432827, Filename: "AOCSDKLevels_7BF4F78840F8EB10387248B8B3B5199F.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 346267578
    ----->    Successfully got file details for FileId: 346267578, Filename: "AOCSDKLevels_0C598F1C4711AFBBF9560EB535E87F10.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 579605216
    ----->    Successfully got file details for FileId: 579605216, Filename: "FootmanSet.upk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 392459811
    ----->    Successfully got file details for FileId: 392459811, Filename: "AOCSDKLevels_3ACAA08F4ABA836D0D4E77B36DA7192E.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 229390650
    ----->    Successfully got file details for FileId: 229390650, Filename: "aocsdklevels_182477564707041bb66ea69470ae2e90.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 362072432
    ----->    Successfully got file details for FileId: 362072432, Filename: "AOCSDKLevels_AE7BCAC3418350A910B9A5B697B99FCC.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 353975728
    ----->    Successfully got file details for FileId: 353975728, Filename: "AOCSDKLevels_6F67FFA94DFF5A691C7816B67E8B1CAD.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 323102544
    ----->    Successfully got file details for FileId: 323102544, Filename: "ZomboShortsword.upk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 598366648
    ----->    Successfully got file details for FileId: 598366648, Filename: "StarWars_58A1FDAC44C20155CACBBC95B010C38C.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 289400128
    ----->    Successfully got file details for FileId: 289400128, Filename: "aocsdklevels_16851181484e9299c736fb8e7247cd81.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Getting file details for user Workshop FileId: 393135432
    ----->    Successfully got file details for FileId: 393135432, Filename: "WepTest_F9594BC44333085ADF629D8AD729F39A.cmwsdk" Published: 1, Subscribed: 0
    WSTOOL:    Adding file(s) from directory: "..\..\UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C" to archive: "D:\Program Files (x86)\Steam\steamapps\common\chivalrymedievalwarfare\UDKGame\CookedSDK\__CMWSDKFiles\StarWars_58A1FDAC44C20155CACBBC95B010C38C.cmwsdk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\CH_Stormtrooper.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\DefaultStarWars.ini"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\Localization\INT\HelmetsMod.INT"
    ----->    Added 3 file(s) to archive "StarWars_58A1FDAC44C20155CACBBC95B010C38C.cmwsdk"
    ----->    Added 3 file(s) to archive "StarWars_58A1FDAC44C20155CACBBC95B010C38C.cmwsdk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SDKShaderCache-PC-D3D-SM3.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SDKShaderCache-PC-D3D-SM5.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SDKShaderCache-PC-OpenGL.upk"
    ----->    Skipping file: "StarWars.ini"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\StarWars.u"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_CH_Cultist.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_CH_Hansolo.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_CH_Jedi.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_CH_Rebel.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_Sounds.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_WP_Bowcaster.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_WP_DarthSaber.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_WP_E11.upk"
    ----->    Adding file: "UDKGame\CookedSDK\StarWars_58A1FDAC44C20155CACBBC95B010C38C\SW_WP_Lightsaber01.upk"
    ----->    Added 16 file(s) to archive "StarWars_58A1FDAC44C20155CACBBC95B010C38C.cmwsdk"
    WSTOOL:    Compressing archive: "StarWars_58A1FDAC44C20155CACBBC95B010C38C.cmwsdk"
    ----->    Successfully compressed archive: "StarWars_58A1FDAC44C20155CACBBC95B010C38C.cmwsdk"
    WSTOOL:    Uploading preview file: "starwars.png"
    Waiting for Steam task to finish.  
    Waiting for Steam task to finish.. Error uploading preview file. Make sure you got a valid connection to Steam.
    [Jan 18, 7:25 AM] COMMANDLET 'WorkshopUserTool.exe wsinfo_StarWars.txt' SUCCEEDED
    
    [Jan 18, 7:25 AM] ALL PIPELINE STEPS COMPLETED SUCCESSFULLY.
    
    

    If I leave the workshop preview image blank I get this error instead.

    Error opening preview file. Make sure that the file UDKGame/CookedSDK/ is valid and not accessed by another program.

    Is there anything I can do to fix this or this on Steam’s end.



  • It’s probably on steam’s end. Their servers get worse every day.



  • had the same problem, change the name of your preview picture file



  • ^ that worked.

    Shoddy programming must be the issue. :P


Log in to reply