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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #1389005