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
- The Up, Down and other Buttons in a Style Sheet's Inspector unselect items when they are clicked while they are disabled
- Virtual Player remains active and still launches when removed from Additional Editor Instances from a custom Play Mode Scenario
- UI Toolkit Editor Window Creator becomes not interactable and greyed out when a long name is entered
- [Web][iOS] Web Player keeps restarting on launch when Native C/C++ Multithreading is enabled
- "Add Scene to Scenes in Build" pop-up reappears after Scene has already been added and another Multiplayer Editor Instance is loaded
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.