Facepunch / sbox-issues

173 stars 11 forks source link

Unable to update Shader on asset.party #3496

Open Jammie3d opened 1 year ago

Jammie3d commented 1 year ago

Describe the bug

A while ago I uploaded a shader to asset.party and I would like to upload a new version. When I select the .shader file and try to upload it to asset.party I get the following error: image

To Reproduce

  1. Create a new shader (shadergraph or shader)
  2. Upload to asset.party
  3. Edit the shader
  4. Try to re-upload to asset.party

Expected behavior

Error message should not appear as the package type has not changed, we should be able to go to the next step in the publishing wizard.

Media/Files

No response

Additional context

No response

Jammie3d commented 1 year ago

It seems like shaders uploaded after today (https://commits.facepunch.com/448470) can now be updated, but older shaders still cannot.

yuna0x0 commented 1 year ago

Same issue here for old shaders. Hope this can be fixed soon.

You can workaround it by force uploading the old shader using another bug that bypasses the package type check.

  1. Empty the package ident field, you will find out that the next button is not disabled. image

  2. Go to the "Project Setup" tab and fill in the original package ident. image

  3. Back to the "Upload To Asset Party" tab and click next to upload happily. (´・ω・`) image