Search Issue Tracker
By Design
Votes
1
Found in
2019.4
2021.2
2021.2.12f1
Issue ID
1404970
Regression
Yes
Building Asset Bundles takes longer when using URP
How to reproduce:
1. Open the attached "Bundler_2021_URP.unity.zip" project
2. Open the "SampleScene" Scene
3. Select the "Bundler" GameObject in the Hierarchy
4. In the Inspector select only the system you are using
5. Press "Make Bundle"
Expected result: Building Asset Bundles takes the same or similar amount of time to finish
Actual result: Building Asset Bundles takes significantly longer to finish
Reproducible with: 7.7.1( 2019.4.37f1), 12.1.6 (2021.2.19f1)
Not reproducible: 10.8.1 (2020.3.33f1, 2021.2.19f1), 12.1.5 (2021.2.19f1), 13.1.7 (2022.1.0b16), 14.0.2 (2022.2.0a10)
Note:
- 7.7.1 is the latest usable version for 2019.4
- Built-in Render Pipeline does not have this issue
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.2.X):
The majority of time when building the sample project was spent switching platform and then restoring it back. The code was building BuildTarget.StandaloneWindows, which is the 32 bit build, and the build project settings were for 64 bit, so even building only Windows on a Windows machine would take a lot of time to switch. When the Build Settings had been set to 32 bits the build time became very quick. This overhead for switching targets as part of a build will be more dependent on the size of the project, rather than the content of the Asset Bundle, including whatever additional projects are included such as URP.