Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPFS Upload script does not upload images. #948

Closed
JAlbertCode opened this issue May 10, 2024 · 0 comments
Closed

IPFS Upload script does not upload images. #948

JAlbertCode opened this issue May 10, 2024 · 0 comments
Assignees
Labels
prefab Features on the prefab side Type: Bug Added to issues and PRs if they are addressing a bug

Comments

@JAlbertCode
Copy link

Describe the bug
The IPFS Upload script uploads metadata, but it does not upload images. It ignores the path and filename and only posts the data.

Steps
Steps to reproduce the behavior:

  1. Copy the script from the docs and paste it into a new C# script.
  2. Update the key, data, bucket id, path, and filename.
  3. Run the script.
  4. Check your ChainSafe storage bucket.
  5. You will see that the image is blank if you download it, and even if you reference the cid, there is no way to view the image.

Expected behavior
Ideally, there are two functions. One function to upload the image, and another function to upload the metadata for the image.

@JAlbertCode JAlbertCode added Type: Bug Added to issues and PRs if they are addressing a bug prefab Features on the prefab side labels May 10, 2024
@sneakzttv sneakzttv self-assigned this May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prefab Features on the prefab side Type: Bug Added to issues and PRs if they are addressing a bug
Projects
None yet
Development

No branches or pull requests

2 participants