Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2.1f1
2022.1.0a13
2022.2
Issue ID
1395776
Regression
Yes
BuildPipeline error is thrown when building Asset Bundles
How to reproduce:
1. Open the user's attached project
2. Go to Assets -> Build Asset Bundles Test
3. Observe the Console
Expected result: no errors are thrown
Actual result: error: Trying to add file <...> to the list of ouptut files in the build report, but a file at that path has already been added.
UnityEditor.BuildPipeline:BuildAssetBundles (string,UnityEditor.AssetBundleBuild[],UnityEditor.BuildAssetBundleOptions,UnityEditor.BuildTarget) <...>
Reproducible with: 2021.2.1f1, 2021.2.8f1, 2022.1.0a13, 2022.1.0b4, 2022.2.0a2
Not reproducible with: 2019.4.34f1, 2020.3.26f1, 2021.2.0f1, 2022.1.0a1, 2022.1.0a12
Notes:
1. On regressed versions, sometimes the build process is ended prematurely with TestRunner errors (UnityEngine.TestTools.TestRunner.PlaymodeTestsControllerSettings)
2. Sometimes the AssetBundle Browser window is not displayed correctly and "AssetBundleBrowser: Two bundles share the same name" error is thrown
3. Sometimes the AssetBundle Browser throws a different error: TreeView has not been properly intialized yet. Ensure to call Reload() before using the tree view.
UnityEditor.IMGUI.Controls.TreeView:OnGUI (UnityEngine.Rect)
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
- WebGL build is missing "malloc" and "free" functions when passing "-sERROR_ON_UNDEFINED_SYMBOLS=0" to emscriptenArgs
- UI Toolkit Slider element is not controlled correctly when using a gamepad controller
- Audio output is of low volume when the Speaker Mode is set to Quad and the Audio Source in the Scene is behind the Camera
- A user gets an error "Failed to import package with error: Cannot import package in play mode." when tries to import TMP essentials, examples or extras
- The Particle System's ShowOnlySelected function doesn't work when toggled via a shortcut
This is a duplicate of issue #1389005