Visual quality - Debug run vs Build deployed on a server

Hi. Quality of textures and the colors are totally different when run from unity on local server vs. when I build the project and deploy on a website. I am using image under canvas. For testing purposes I tried 10 different formats for my images (no change whatsoever and the problems are the same for all of them). On local server the quality is good and colors are correct. See images


Original Post on Discord

by user 606919514772340737

top is on server, bottom is on local server (the correct one).

by user 606919514772340737

Wow, that’s a strong change.

So for production builds we’re using etc1s compression, which can change colors, but not to that extent (a few %, similar to JPEG or compressed WebP).

Would you mind sending that project via
Needle Engine > Bug Report > Zip Scene?

And just to make sure, your project is in Linear color space?

yup, linear color space.

by user 606919514772340737

by user 606919514772340737

Thank you!

Hi, any news ? btw. here is the website where I deployed the build:

by user 606919514772340737

Yes, I was able to reproduce the problem, found a workaround and opened an issue here:

Workaround is to use regular quads + unlit material instead of Canvas Image for now

ok thanks :slightly_smiling_face: this workaround is fine for my background image, but I have same problem for images for UI buttons, and Iam not sure if I can use regular quads there. Hope you guys fix this soon. Anyway thanks again :slightly_smiling_face:

by user 606919514772340737

You can add the button component to regular quads too

well that doesn’t seem to work, but I guess I can code my own button script, that will work.

by user 606919514772340737

You need to have a ObjectRaycaster in the hierarchy above your quad (in a UI context that’s handled by the GraphicsRaycaster component but in a regular scene you need to mark the parts of the hierarchy yourself that you want to use raycasting with for getting the IPointerEnter etc events called)

ok it works now :slightly_smiling_face: you are the best

by user 606919514772340737