• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM Uploads Empty File Without Description and Image To Steam Workshop (Cloud Is Enabled)

B

BabyDukaCPH

Guest
(I have posted an updated thread and I don't know how to delete this one...)

Hello!

I've seen other threads similar, yet they do not help me past this issue:

The following code executed successfully and the audio_play_sound function is played meaning the call happened. It runs from obj_load_slot in its Step event

Code:
// Share selected level
if (steam_is_cloud_enabled_for_account() == true && steam_is_cloud_enabled_for_app() == true)
{
    if (selected) && (gamepad_button_check_released(con_gamepad.playerInputDevice,con_gamepad.shareButton)) || (keyboard_check_released(con_keyboard.shareButton))
    {
        //Play sound!
        audio_play_sound(snd057,10,false);
   
        var uploadItem = steam_ugc_create_item(global.appID,ugc_filetype_community);
        var updateHandle = steam_ugc_start_item_update(global.appID,uploadItem);
        steam_ugc_set_item_title(updateHandle,global.displayName);
        steam_ugc_set_item_description(updateHandle,"testing workshop...");
        steam_ugc_set_item_visibility(updateHandle,ugc_visibility_private);
        var tagArray;
        tagArray[0] = "Level";
        steam_ugc_set_item_tags(updateHandle,tagArray);
        steam_ugc_set_item_preview(updateHandle,working_directory + "levels\" + fileNameSav + "_thumbnail.png");
        steam_ugc_set_item_content(updateHandle,working_directory + "levels\" + fileNameSav);
        requestId = steam_ugc_submit_item_update(updateHandle, "Version 1.2");
   
    }
}
When I look in my 'uploaded files' in the Workshop the file reads 0.000 kb and no description nor image is displayed. I've understood that Steam Cloud has to be enabled which it is.

Have anyone had the similar issue and found out why there is no error in the debugger and why a file is uploaded without content?

Thanks a lot everyone, much appreciated!
 
Last edited by a moderator:
Top