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
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!
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");
}
}
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: