Closed Superwutz closed 2 years ago
I also had this error once.
According to the Steam docs, you can also take a look at the following log files:
Steam\logs\Workshop_log.txt and Steam\workshopbuilds\depotbuild.log where Steam is the Steam installation directory (e.g., D:\Program Files (x86)\Steam)
In my case, the depotbuild.log helped a lot. The log file contained this:
[2021-11-29 04:37:11]: Building file listing for depot <Your game app id>... [2021-11-29 04:37:11]: Found 0 files for mapping: Waving -> . [2021-11-29 04:37:11]: ERROR! Build for workshop item has no content [2021-11-29 04:37:11]: ERROR! Failed building file list
This obviously means the path to the content folder (used in setItemContent) is incorrect.
I hope this helps.
Note that getItemUpdateProgress()
is for consuming items, so to check while a user is downloading a workshop item. For submitItemUpdate()
, you are supposed to wait for the onSubmitItemUpdate()
callback.
The code above fails because this callback isn't checked, while the loop is waiting for a update progress which doesn't exist.
Hi guys,
did anyone ever use this for a Steamworkshop implementation?
I am trying my best to do so, creating a new workshop item does work fine but as soon as I populate it with content and try to submit it, its fails giving back FAIL as result..
here is my function: