Search Unity

Bug Weird UI Canvas glitch after moving from 2021.3.10f1 to 2022.3.0

Discussion in 'Editor & General Support' started by ridexpl, May 31, 2023.

  1. ridexpl

    ridexpl

    Joined:
    Jan 4, 2021
    Posts:
    4
    Hello everyone! I came across a strange error today, exporting the game to android after switching from unity 2021.3.10f1 to 2022.3.0 version my UI, and more specifically all the images, sprites there glitched very strangely, and that's all after the build! Everything works fine in the editor. I've already searched the whole internet for a solution to this problem, if it's not a bug, then I suspect it's some setting that was added in a newer version, although it's only a suspicion. Best regards and hope for quick help! Attached is a comparison of what it all looks like.
     

    Attached Files:

  2. ridexpl

    ridexpl

    Joined:
    Jan 4, 2021
    Posts:
    4
    anyone, please?
     
  3. ridexpl

    ridexpl

    Joined:
    Jan 4, 2021
    Posts:
    4
    I forgot to add, but this also happened when I switched from version 2021.3.10f1 to version 2021.3.26f1 when I tried to build the game on android .apk
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
  5. this-Array

    this-Array

    Joined:
    Jun 11, 2013
    Posts:
    13
    I am experiencing the same issue. Bug was introduced into version 2021.3.26 as well. Affects 9 sliced sprites. If the sprite is not on UI it is normal.
     
  6. ridexpl

    ridexpl

    Joined:
    Jan 4, 2021
    Posts:
    4
    Hi, I forgot to write, but I fixed it by importing my old project into a new one, and when importing it turned out that the problem was the ProjectSettings folder, so just deleting it should be enough (remember about the backup!). I don't know which file is responsible for this, but ProjectSettings.asset itself did not cause any problems adding it back. Good luck and let me know if it solved your problem too! :)
     
  7. this-Array

    this-Array

    Joined:
    Jun 11, 2013
    Posts:
    13
    I fixed it by installing all the 2D modules, even stuff i wasn't using like 2D Animation and 2D PSD Importer.
     
  8. Eldirfar

    Eldirfar

    Joined:
    Feb 9, 2014
    Posts:
    65
    I got the same problem after switching from Unity 2021.3.19 to 2021.3.26. All UI atlases seem broken on iOS/Android builds.
     
  9. Eldirfar

    Eldirfar

    Joined:
    Feb 9, 2014
    Posts:
    65
    I narrowed the problem to QualitySettings.

    @karl_jones
    Setting Half Res in Quality settings breaks UI atlases.
     
    Last edited: Jun 5, 2023
    Noun_itn likes this.
  10. davidebarbieri

    davidebarbieri

    Joined:
    Feb 12, 2013
    Posts:
    21
    Same problem with 2021.3.27.
     
  11. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297