Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2019.4.X, 2020.3.X, 2022.1.X

Fix In Review for 2021.3.X

Votes

5

Found in

2019.4.33f1

2020.3.20f1

2020.3.25f1

2021.2.0b15

2022.1.0a9

2022.2

Issue ID

1397965

Regression

Yes

Texture size increased on first build when 'Compress Textures/Assets on Import' is enabled

Asset - Database

-

How to reproduce:
1. Download the attached project '1397965.zip'
2. Make sure to disable Preferences > Asset Pipeline > Compress Textures on Import (on Unity 2020.3 or older: Preferences -> General -> Compress Assets on Import)
3. Build the project
4. Open Editor.log and look for the line that shows the size of 'Assets/Art/Dolphin/dolphin_texture.JPG' (use ctrl + f)

Expected result: Logs print '512.1 kb 0.5% Assets/Art/Dolphin/dolphin_texture.JPG' (the % number can be different)
Actual result: Logs print '3.0 mb 3.1% Assets/Art/Dolphin/dolphin_texture.JPG' (the % number can be different)

Reproducible with: 2019.4.33f1, 2019.4.35f1, 2020.3.20f1, 2020.3.28f1, 2021.2.0b15, 2021.2.11f1, 2022.1.0a9, 2022.1.0b8, 2022.2.0a5
Not reproducible with: 2019.4.32f1, 2020.3.19f1, 2021.2.0b14, 2022.1.0a8

Notes: The issue only reproduces on the first build, any builds after that get the expected result. Need to delete Library folder to reproduce the issue again on the same project

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a10

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.1f1

  3. Resolution Note (fix version 2020.3):

    Fixed in:

  4. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.40f1

Comments (1)

  1. solkyoshiro

    Mar 30, 2022 15:11

    I'm currently fighting a similar issue. It's made my project impossible to open now.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.