FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.72k stars 400 forks source link

Can't upload my submarines into steam workshop #12040

Open endkinghenry opened 1 year ago

endkinghenry commented 1 year ago

Disclaimers

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

itchyOwl commented 1 year ago

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

Zipliks commented 1 year ago

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.

giists commented 1 year ago

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

Regalis11 commented 1 year ago

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

@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?

endkinghenry commented 1 year ago

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.

giists commented 1 year ago

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
Regalis11 commented 1 year ago

@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

giists commented 1 year ago

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

PatrickJS44 commented 1 month ago

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.