Please help save my project. Everything is blurry only in final build

I cannot for the life of me figure out what is wrong with my project. I rarely resort to creating a post, but I am out of options.
So, I’m making a pixel art game. I know about all the normal stuff (I think) like import settings, pixel perfect camera, aseprite importer.
In both the editor and in engine game, everything looks perfectly fine. But, when I build my game, everything looks very blurry. I’ve searched all over the internet and can’t find anyone that had a similar problem. I’ve also created a brand new 2d project, imported all the sprites and PPCamera with all the same settings and the new project works perfectly. So, worst case scenario, I have to recreate my project from the ground up.

I’m using version 6000.1.14f1, but for added context, this project was originally made in a 2019 version, then converted to 2021, then finally converted Unity 6. It’s a very simple project and I’ve never had any problems with updating the editor… but that may be causing an issue here.

^Sprite Settings

^Camera Settings

^In Game/Editor

^In Final Build, Very blurry

^Project setting that may or may not be related. I’ve tried changing a lot of them, resetting them to default and to no avail. Let me know if you would like to see any other project settings

my guess is that your ingame resolution is different than your native screen resolution

make sure, go on windows and check the resolution of your monitor

then in game make a script that calls Screen.SetResolution(x,y) to the resolution of your screen

for example in my builds i have found that if i set resolution to 1280x720 it will be blurry on my 1920x1080 monitor, i dont know why its like that, but the fix is to just put same resolution of your monitor

If you change Fullscreen Mode to “Exlusive Fullscreen” it should give you a crisp look. You may also notice the monitor flickering as the game launches - if so that’s a clear indicator that the 1920x1080 resolution doesn’t match your desktop resolution.

“my guess is that your ingame resolution is different than your native screen resolution”

I probably should have mentioned this in the original post, sorry. But, I have already tested it in many different resolutions, the resolution isn’t the issue. Also, I’ve sent the build to a friend of mine and he has the same blurry problem.Also, not to be ungrateful, but how would that fix the problem? Preferably I would want the player to be able to play in windowed mode in a smaller resolution if the so pleased.

Also, if it was a resolution issue, that doesn’t explain why when I tested my assets and camera settings on a fresh project it built perfectly and nothing looked blurry

If you change Fullscreen Mode to “Exlusive Fullscreen” it should give you a crisp look. You may also notice the monitor flickering as the game launches - if so that’s a clear indicator that the 1920x1080 resolution doesn’t match your desktop resolution.

Unfortunately, building the game in exclusive fullscreen does not make it look any better. Also, the game does not flicker upon launching.
Also, like I stated in my other reply. I should have mentioned that I have already tried building the game in different resolutions and I would like my player to be able to play in windowed mode if they prefered

I’ve also created a brand new 2d project, imported all the sprites and PPCamera with all the same settings and the new project works perfectly. So, worst case scenario, I have to recreate my project from the ground up.

I’m using version 6000.1.14f1, but for added context, this project was originally made in a 2019 version, then converted to 2021, then finally converted Unity 6. It’s a very simple project and I’ve never had any problems with updating the editor… but that may be causing an issue here.

So, I ended up transferring everything to a new clean project in Unity 6, and the builds look crispy sharp in every resolution.
My only guess is that it had something to due with the 2d Render Pipeline being corrupted or just outdated for that old project because of the multiple times I’ve brought it to a newer version editor. I was hoping I didn’t have to do this and it was just some dumb setting in the project somewhere, but oh well.

To, anyone who might discover this in the future, that is also in the process of transferring everything. Just in case you don’t already know, I’ve learned that you can make your own unity package out of any of your assets and then just plop it into the new project. Just select what you want, right click, and click export package.

Updating editor or package versions can not and will not corrupt things in this manner. The only thing that might see some sort of corruption is the /Library folder with its cached data. Removing that often fixes the odd issue, especially after updating.

I’m 99% certain that the issue was due to some setting that you left behind after transferring assets. So if you went back and compared the ProjectSettings folder contents for old and new project, and reverse-apply the changes one by one you would likely find the one that causes the blurriness. If not that, it’s a render pipeline asset setting.

I never tried the cache thing… not sure how that works
I have compared the ProjectSettings time and time again and could never find anything different, that’s why I was so confused as to why the new fresh project was completely fine.

Not comparing, diff’ing. :wink:

Finding differences using a line-by-line comparison of the files. That’s what source control does. It’ll pop up any difference that might otherwise be hard to spot or tedious to compare.

huh, I will have to research that. I’ve never used anything like that before