When I try to upload decals or icons that are too large in terms of file size, the website will send me to a 400 page.
This doesn’t make it immediately clear to me that the image I’m trying to upload has a file size that is too large. The expected behavior is an error message that tells me the problem with what I’m uploading. Because this did not happen, I needed to waste time trying to debug the problem.
I ran into this bug today when I tried to upload some decals, but it has been happening for a long time.
You can reproduce this issue by generating a 5k x 5k px image full of noise and attempting to upload it, or using another image file of large size (12+ MB?).
After trying to upload
After pressing back (it redirects almost immediately back to the 400 page)
After trying to change the icon of a plugin to an image that is too big