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
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
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.