Search Issue Tracker
Not Reproducible
Votes
8
Found in
2017.1.0b2
Issue ID
913825
Regression
No
Unity takes a very long time to build a project which has particular shaders in the assets folder
The project is very small and consists only of an empty scene and shaders in the asset folder
To reproduce:
1. Open the project, attached by tester (unityFreeze.zip)
2. Build the project for standalone
3. Observe how Unity seemingly freezes at Packaging assets - resources.assets
Expected: Unity does not take a very long time when building the project
Actual: Unity seemingly freezes and finishes the build only after a few minutes when building the project with particular shaders in the asset folder
Reproduced in 5.4.5p2, 5.5.3p2, 5.6.1f1, 2017.1.0b2, 2017.1.0b6, 2017.2.0a1
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
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
BootySmashDeluxe
Jan 09, 2021 23:07
Reproducible in 2020.2.1f1
Why is this issue closed? It is very much reproducible.
Just build a scene with some speed trees and watch as unity compiles 8 million shader variants.
SRGeodan
Aug 12, 2019 14:55
Confirmed in 2019.1.1f1
The root couse is the enormous amount of shader variations created by SpeedTree's as for what I see.
I unticked all the boxes in project settings -> graphics -> ShaderStripping.
However, still takes 30 min to build.
GodManOmar777
Apr 30, 2019 04:41
Same thing my game that only use to take 40 min to build is now taking 5 hours to build and it did'nt do that prior to the update
chriscode
Dec 16, 2018 00:56
Same issue. Also can't cancel succesfully
chriscode
Dec 16, 2018 00:56
Same issue. Also can't cancel succesfully
ASIM-SENYUVA
Nov 28, 2018 23:10
The problem still active. Unity 2018.2.15f1 (64bit)
the building takes too much time... we sleep near computer :)
squidbot
Oct 24, 2018 20:36
This doesn't seem resolved, I'm still getting really long builds in 2018.2.13. WebGL takes 20+ minutes to build. What info can we give to help solve this?
tom_fv
Dec 13, 2017 10:28
We are having the same issue, we have a good few scenes in our build and many shaders and one very high quality environment scene, it would be useful to know what shaders seem to be causing this
maxpleaner
Aug 13, 2017 20:16
Having the same issue ... Unity shows up in Task Manager as not responding. I will be patient and see it if ever finishes, but I don't think this is normal behavior.
ikriz
Aug 11, 2017 14:47
Having same issue in 2017.1.0f3