Search Unity

Urp bad resolution in build vs editor

Discussion in 'Universal Render Pipeline' started by hugofreiregil, Sep 15, 2021.

  1. hugofreiregil

    hugofreiregil

    Joined:
    May 31, 2019
    Posts:
    7
    snap_editor.PNG snap_build.png

    The first one image is taken from unity player and the second one is from a build. Is there something I need to check?

    This is my config:
    snap_urp.PNG

    quality.png

    Thanks,
    Hugo
     
  2. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,875
    1. The problem is related to the build screen resolution
    2. Your sprites must be imported without Mipmap Generation option in the import settings
     
  3. hugofreiregil

    hugofreiregil

    Joined:
    May 31, 2019
    Posts:
    7
    Thanks @UnityLighting for your help. What do you mean with build screen resolution?, I didn't find any option in building settings about the resolution. I have imported the sprites without Mipmap:
    upload_2021-9-24_16-0-38.png
     
  4. hugofreiregil

    hugofreiregil

    Joined:
    May 31, 2019
    Posts:
    7
    OMG! finally I found a solution. After change the company name in project preferences it shows correct quality. There must be some kind of checksum in the project settings that rebuilds something, when I put the old company name it shows incorrectly again. I have detected it moving repository commits up and down until found the change. I have clean the project with `git reset --hard` and `git clean -fxd` and shows this behaviour. I'm using this `.gitignore` file:

    Code (CSharp):
    1. [Ll]ibrary/
    2. [Tt]emp/
    3. [Oo]bj/
    4. [Bb]uild/
    5. [Bb]uilds/
    6. [Ll]ogs/
    7. [Aa]pk/
    8.  
    9. # Autogenerated VS/MD solution and project files
    10. *.csproj
    11. *.unityproj
    12. *.sln
    13. *.suo
    14. *.tmp
    15. *.user
    16. *.userprefs
    17. *.pidb
    18. *.booproj
    19.  
    20. # Unity3D generated meta files
    21. *.pidb.meta
    22.  
    23. # Unity3D Generated File On Crash Reports
    24. sysinfo.txt
    25.  
    26. #Android apk
    27. *.apk
    28. .vs
    29. dist
    30.  
    31. # Vim
    32. *.swp
    33. *.swo
    34.  
    35. # Ignore Unity3D testing files created
    36. **/InitTestScene*
    37.  
    38. # Git merge
    39. *.orig
    40. *.orig.meta
    41.  
    42. .DS_Store
    43.  
    44. data1
    45. *.app
    46.  
     
    Last edited: Sep 24, 2021