Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

Can't upload my submarines into steam workshop

Open endkinghenry opened this issue 2 years ago • 9 comments

Disclaimers

  • [X] I have searched the issue tracker to check if the issue has already been reported.
  • [ ] My issue happened while using mods.

What happened?

When i try to upload a file to steam workshop, it used to work in the past. But now for some reason, I'm unable to update or upload my own submarine creations. It shows "Publishing (file name) In the steam workshop failed. The

image

preview is 552 kb,

Whats weird is, when i look into my steam workshop page, it tells me it is created but it's empty

image

Reproduction steps

  1. Go to mods
  2. Go to publish
  3. Find your submarine you want to upload
  4. Press apply, Have no preview, description and change note. With tags of "submarine"
  5. After pressing apply staring at "submitting item to the steamworkshop"
  6. See error, "Publishing (file name) In steam workshop failed.
  7. Feel bad because it used to work

Bug prevalence

Happens every time I play

Version

v1.0.13.2

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

endkinghenry avatar May 21 '23 00:05 endkinghenry

Moving to QA Investigates: need to check if can repro with the steps. If not, ask for further information.

itchyOwl avatar Jun 07 '23 14:06 itchyOwl

Same problem here, cannot publish if Preview Image is set. Without image publishes successfully.

The format/size of the image doesn't matter, I've tried it.

zipliks avatar Jun 26 '23 11:06 zipliks

Repro steps confirmed. If the image is in the localmods folder of the sub it works. Otherwise it throws an error. image

giists avatar Jul 04 '23 08:07 giists

I'm afraid I still could not reproduce this. I'm not clear on the reproduction steps though:

  • The original report says "Have no preview, description and change note", yet the screenshot does show the submarine having a preview image.
  • The original report also says "Press apply", but the Apply button is always disabled in the publish menu (and seems to be disabled in the screenshot too).
  • The newer two comments seem to be about publishing a mod with a preview image, but that doesn't seem to be what the report was about?

@giists would it be possible to provide some more details on how you reproduced this? I tested using a preview image on my desktop with no issues. Where's the preview image located in your case, relative to the executable? Are you publishing a new mod or an update to an existing one? Are you replacing an existing preview image or adding a new one? Which version/branch did the issue occur in?

Regalis11 avatar Jul 10 '23 13:07 Regalis11

I've found a solution on my issue, my router was blocking specific things which was partly disrupting the connection between steam and barotrauma. While it was creating a workshop content, it was empty due to the disruption. After solving the router blocking specific signals, everything seemed to work properly again.

Tldr, it was a weird network issue.

endkinghenry avatar Jul 10 '23 13:07 endkinghenry

After some more testing it seems that these are the steps to get the error.

  1. upload a new submarine with a picture and description(shouldn't matter where the image is from)
  2. scroll to the bottom and delete the item
  3. go to publish it again with the same picture and description
  4. error

giists avatar Jul 11 '23 12:07 giists

@giists I think that's probably a separate issue, as the original issue didn't seem to cause the same error message to be thrown. Addressed in https://github.com/Regalis11/Barotrauma-development/commit/4f1bb5dd2467a6070e8cafad83ee005f2e1f2dbb

Regalis11 avatar Jul 11 '23 14:07 Regalis11

Following the same steps as before I now get this error. image

giists avatar Jul 25 '23 09:07 giists

I've found a solution on my issue, my router was blocking specific things which was partly disrupting the connection between steam and barotrauma. While it was creating a workshop content, it was empty due to the disruption. After solving the router blocking specific signals, everything seemed to work properly again.

Tldr, it was a weird network issue.

I am having exactly the same issue described by @enkinghenry @[endkinghenry]. Fail to publish my submarine in Steam workshop. The same Error pop up saying publishing the submarine in the Steam workshop failed. My preview image was a .png, 114kb. The publishing failed with or without the preview image, regardless of the directory of preview file. No red error lines in console. No warning or bug reported.

Empty mod would also appear on my steam workshop page. It created one barotrauma empty mod each time I tried to publish and failed. emptymod

This issue made me recall that I had similar mod publishing problem two years ago when I played EA version of Barotrauma. I managed to publish my submarine with steamcmd then. After published successfully with steamcmd I could upgrade the mod normally with mod publishing menu built in game. But these days I tried steamcmd and still failed (cannot even login with constant invalid password or no connection error).

I tried everything I could thought of. Reinstalled Steam, checked internet connection and firewall settings, the issue still there. It would be grateful if anyone can give me a clue about what is going wrong or how to fix it.

PatrickJS44 avatar Jul 21 '24 07:07 PatrickJS44

Could not reproduce any of the steps in this thread.

Closing ticket

Jasontti avatar Sep 02 '25 13:09 Jasontti