Search Unity

unity 2019.1.5 uvs breaking at build time.

Discussion in 'General Graphics' started by RickF, Aug 29, 2019.

  1. RickF

    RickF

    Joined:
    Sep 12, 2012
    Posts:
    33
    Experiencing an issue where it appears UVs are being merged or move after running builds.

    Everything looks OK in editor, but after running a build there are a number of texture stretching issues. Looks like UVs at some tolerance are being merged together or moved in space. Also appears to really only be an issue on the base UV0 map.

    Is there some kind of optimization setting i'm missing? Or some kind of limit to size/ distance for UVs?

    It is a large somewhat complex piece of geometry (lots of materials), but the fact it only breaks at build time makes me think im missing something simple in regards to Unity settings, and not an art asset root cause.

    We have produced a number of projects with previous versions of Unity without encountering this issue. Any ideas would be appreciated
     

    Attached Files:

  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,342
    Try checking your player settings, under other settings > optimization > vertex compression
     
    RickF likes this.
  3. RickF

    RickF

    Joined:
    Sep 12, 2012
    Posts:
    33
    It's set to mixed, and that tex coord 0 is checked... will look deeper into this thank you.
     
  4. RickF

    RickF

    Joined:
    Sep 12, 2012
    Posts:
    33
    Appears to have resolved the issue. Appreciate it @bgolus