Search Issue Tracker
Won't Fix
Votes
17
Found in
2022.2.7f1
2023.1.0b3
2023.2.0a2
Issue ID
UUM-27669
Regression
No
Unable to build asset bundle when using CalculateSceneDependencyData() method
Reproduction steps:
1. Open the “TestProject-With-AssetBundleBug” Project
2. Open the “Assets/Investments/01_OlimpiaPort.unity” Scene
3. In the top menu select Tools → BuildManager
4. In the “BUNDLES OVERVIEW” field select 01_OlimpiaPort → Scene → Build
Expected result: Asset bundle is built
Actual result: An error is thrown
Reproducible with: 2022.2.7f1, 2023.1.0b3, 2023.2.0a2
Could not test with:
2020.3.45f1 (error CS8124: Tuple must contain at least two elements.)
2021.3.18f1 (Build Manager tool is not available)
2022.1.24f1 (error CS0246: The type or namespace name 'VolumeProfile' could not be found (are you missing a using directive or an assembly reference?))
Reproduced on: Intel MacOS 13.1
Comments (4)
-
malikarshad08532
Jul 11, 2025 04:09
The CalculateSceneDependencyData() method may fail to build the asset bundle due to missing scene references, incorrect paths, or unaddressed dependencies.
-
thomas642daniel
Jul 15, 2024 07:23
It's very useful us but not allow in version 2022.2
-
yslab
Feb 21, 2023 07:47
I need this. It's no allow me to use version 2022.2. I can't build my project.
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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
Resolution Note:
The calls in the project code CalculateCommonBundles() do not match the calls in ScriptableBuildPipeline DefaultBuildTasks(). E.g. in that implementation CalculateSceneDependencyData is called directly after PostScriptsCallback. We are not able to help debug issues arising with custom implementations that extend the Scriptable Build Pipeline, as it is likely the bug is in the customer project. So it is recommended to compare with the default implementation and see if it is possible to more closely match its order of operations.