Search Unity

UI sprites and images corruption on building?

Discussion in 'Windows' started by Acatist, Feb 19, 2020.

  1. Acatist

    Acatist

    Joined:
    Jun 7, 2016
    Posts:
    45
    Greetings, I tried to export this project for Windows and for Mac several times and this problem comes up (image1&2), the images of the interface get corrupted and come out like this, with visible defects. Luckily I had a backup of an earlier version (image3), which is exported correctly, I tried to work from it, and when I raised that I had the problem, I added a new asset, a 3d model and textures Like others that I have inside similar, and has returned to give the same problem, I do not know what the problem may be, if it is a failure of unity or some erroneous configuration in the editor or in the build.

    Besides, this error appears recently, but not always, I don't know if it will have to do with the problem: "Serialized file size of 4.39 GB (4712250904 bytes) exceeds maximum. File name: 'Temp/StagingArea/Data/sharedassets0.assets'. Serialized files over 4.00 GB (4294967295 bytes) cannot be loaded by the player. Some likely ways to reduce this are utilizing asset bundles, re-balancing asset locations, or limiting their serialized size e.g. limiting the maximum texture sizes."

    Image1: https://imgur.com/dIoVF6N

    Image2: https://imgur.com/r76VdvN

    Image3: https://imgur.com/lsdvdpS
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    It likely has to do with the problem. Unity resource files are right now limited to 4 GB and if your assets are larger than that, Unity won't be able to read them from disk. I suggest warning's following the advice and try reducing its size.