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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
This is a duplicate of issue #1389005