Skip to main content

Unity Webgl issue for upload file


Have used the upload API endpoint, and it works in the unity editor, but once build to webgl, the same API shows error 403 forbidden error. looking for a solution. thanks in advance

2 replies

smartoneinok Box
Forum|alt.badge.img

Hi There! 👋 Thanks for posting on the forum.


I do not have any Unity development experience - but I can certainly ask around internally to see if anyone else does.


I will say 403 errors are typically a permission issues or a missing CORS config in your app!


Thanks,

Alex, Box Developer Advocate 🥑


  • Author
  • New Participant
  • 1 reply
  • July 28, 2023

Thank you for your quick reply,


Download API endpoint works good. Is cors not apply?


Or


If that is the problem, how to setup cors in unity?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings