Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b2
2022.1
Issue ID
1349093
Regression
No
Building time increases when Optimize Mesh Data is enabled
How to reproduce:
1. Open the attached project "1349093-repro.zip" with Windows set as Target Platform
2. In File > Build Settings, make sure that Scenes/SampleScene is added to Scenes In Build
3. Build and observe how long it took for the build to complete in the Console tab
4. Go to Edit > Project Settings > Player > Other Settings > Optimization
5. Enable "Optimize Mesh Data"
6. Build the project again
Expected results: the second build completes in the same time or faster as was observed in step 3 (~30s)
Actual results: the second build takes much longer to complete (~400s)
Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5
Notes:
- Increased build times were also observed when building for Nintendo Switch
- The very first build might take longer despite "Optimize Mesh Data" being disabled due to shader compilation
Comments (1)
-
laurentlavigne
Aug 07, 2021 03:22
This doesn't happen in 2020.1.17 so whatever you added in the LTS regressed optimize mesh in a huge way
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Typos in High Definition 3D sample tutorials
- “Handles.Repaint called outside an editor OnGUI" error is thrown in the Console when creating a new Tile Palette from the Tile Palette Overlay in Scene view
- Shader Graph window icon is blurry and low quality when the Shader Graph is created using the Universal 2D template
- “Export HDRP Sky to Image” command error message does not indicate that Game view must be visible
- Adaptive Performance Settings Framerate field doesn't display the "supported without VSync" warning, when the field is collapsed in Build Profiles
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a7
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b13
Resolution Note (fix version 2021.1):
Fixed in 2021.1.22f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.19f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.31f1