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
- Crash on "The GUID inside 'Assets/asset.png.meta' cannot be extracted by the YAML Parser." when opening the project
- Shadows disappear when looking at a certain angle in Scene view and using Cloud Shadows with Volumetric Clouds
- StackOverflowException freezes or silently crashes the Editor
- Microsoft Surface Device freezes when detaching and reattaching physical keyboard attachment to a Microsoft Surface device in Standalone Player for Windows
- Shadows are cast with artifacts on GameObjects when the light type is set to Point
This is a duplicate of issue #1389005