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
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
- Low FPS in the Game View when the Editor window loses focus
- Memory leak when a domain is reloaded on a Scene that uses HDRP's water simulation resources
This is a duplicate of issue #1389005