Search Issue Tracker
Fixed in 1.7.0
Votes
5
Found in [Package]
1.5.1
Issue ID
1192158
Regression
No
[ScriptableBuildPipeline] Build time increases when building a scene with UseCache parameter set to 'true'
How to reproduce:
1. Open the user attached project
2. Build a project via Test->Build button in a top menu bar
3. Check the elapsed time in the console
4. Build a project once more
5. Compare the build times in both cases
Expected results: Build is faster the second time since assets are not rebuilt
Actual results: The second build is taking longer than the first time (First time ~ 2 minutes; Second time ~ 10 minutes)
Reproducible with: 2018.4.11f1, 2019.2.10f1, 2019.3.0b8, 2020.1.0a9 (package ver 1.5.1, 1.5.2)
Additional notes:
1. The specs of a computer used for testing: i7-8700 3.20 GHz, 16 GB RAM, GTX 1060 6GB
2. If UseCache is set to false, the build takes approx. 2 minutes each time
3. ScriptableBuildPipeline was introduced in Unity 2018.2, therefore a project could not be tested in 2017.4.33f1
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
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
Resolution Note (fix version 1.7.0):
Fixed in SBP v1.7.0. New preference to enable/disable stripping the detailed debug information from write result before caching. Defaults to enabled for performance.