This object is in archive! 

Publish failed - error accessing service when uploading over unlisted workshop entry (industrial DLC

RemClone shared this bug 2 years ago
Solved

When attempting to upload/update my Unlisted workshop mod, I receive an error from SE. This started after the recent large industrial update.

Stack trace is as follows:

2021-08-01 20:39:09.933 - Thread: 15 -> PublishItemBlocking - START

2021-08-01 20:39:09.950 - Thread: 15 -> MyWorkshop.GetItemsBlocking: getting 1 items

2021-08-01 20:39:10.149 - Thread: 1 -> MyGuiScreenWorkshopTags MyGuiScreenBase.UnloadContent - START

2021-08-01 20:39:10.154 - Thread: 1 -> MyGuiScreenWorkshopTags MyGuiScreenBase.UnloadContent - END

2021-08-01 20:39:10.183 - Thread: 1 -> Mod query successful

2021-08-01 20:39:10.349 - Thread: 1 -> Exception occurred: System.ArgumentOutOfRangeException: Exception of type 'System.ArgumentOutOfRangeException' was thrown.

Parameter name: visibility

Actual value was 3.

at VRage.Steam.MySteamHelper.ToSteam(MyPublishedFileVisibility visibility)

at VRage.Steam.MySteamWorkshopItemPublisher.UpdatePublishedItem()

at Sandbox.Engine.Networking.MyWorkshop.PublishItemBlocking(String localFolder, String publishedTitle, String publishedDescription, UInt64 workshopId, String serviceName, MyPublishedFileVisibility visibility, String[] tags, HashSet`1 ignoredExtensions, HashSet`1 ignoredPaths, UInt32[] requiredDLCs, MyWorkshopItem& publishedItem)

at Sandbox.Engine.Networking.MyWorkshop.PublishItemBlocking(String localFolder, String publishedTitle, String publishedDescription, WorkshopId[] workshopIds, MyPublishedFileVisibility visibility, String[] tags, HashSet`1 ignoredExtensions, HashSet`1 ignoredPaths, UInt32[] requiredDLCs, MyWorkshopItem[]& publishedItems)

at Sandbox.Engine.Networking.MyWorkshop.PublishItemResult.<>c__DisplayClass7_0.<.ctor>b__0()

at ParallelTasks.DelegateWork.DoWork(WorkData workData)

at ParallelTasks.WorkItem.DoWork(Int32 expectedID)

Looking at the component involved, it seems that MyPublishedFileVisibility is an enumeration with only 3 entries:

public enum MyPublishedFileVisibility

{

Public,

FriendsOnly,

Private

}

This doesn't look to be aligned with the steam state of workshop items, where there is normally an option to have the item set as Unlisted (which my one currently is). My guess is that this enumeration was changed during the major update and the Unlisted option was removed, so when the game tries to publish over an Unlisted item, it can't recognise it and throws the exception.

So I expect it should be easy to reproduce this problem by trying to re-publish any mod that is marked as Unlisted on steam.

I hope this doesn't mean the Unlisted option is being removed permanently, because it's very useful for small dedicated servers that don't want to publish their mods.

The log containing the exception is attached.


Thanks for your help and time.

Replies (5)

photo
1

Hello, RemClone!

Sorry to hear you're experiencing this issue but thank you for the report. I can see this is also an issue with blueprints. I have reproduced this and reported them both internally.

Kind Regards

Laura, QA Department

photo
1

Hello, RemClone!

Just a quick update to let you know this will be fixed in the upcoming hotfix :)

Kind Regards

Laura, QA Department

photo
1

Awesome stuff, thanks for the fast support!! 😊

From: support@keenswh.com <support@keenswh.com>

Sent: Wednesday, 4 August 2021 12:39 AM

To: RemClone <remco@rmulder.com>

Subject: New Comment in "Publish failed - error accessing service when uploading over unlisted workshop entry (industrial DLC"

photo
1

Hello!


We anticipate release of a hotfix to resolve this issue in the coming week. Thank you for understanding.


Kind Regards

Keen Software House: QA Department

photo
1

Hello, Engineer!

This issue is now fixed in version 199.023. I am marking this thread as solved :)

Kind Regards

Laura, QA Department

Replies have been locked on this page!