Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0f3
Issue ID
961051
Regression
No
Failure loading multiple bundles with same names but different files
Steps to reproduce:
1. Open attached project "961051.zip"
2. Select "Assets/asset cube/asset.prefab" in the Project View
3. In the Inspector change the prefabs AssetBundle name to "asset" and extension to "bundle"
4. Press "ASSET BUNDLES/build all" to build the cube prefab asset bundle
5. Move "asset.bundle" to "Assets/asset cube" folder
6. Select "Assets/asset cube/asset.prefab" in the Project View
7. In the Inspector change the prefabs AssetBundle name and extension to none
8. Repeat steps 2 - 5 for "Assets/asset sphere/asset.prefab" accordingly
9. Enter play mode
*both cube and sphere asset bundles will be loaded*
Actual result: second asset bundle doesn't get loaded and error is thrown:
The AssetBundle 'asset.bundle' can't be loaded because another AssetBundle with the same files is already loaded.
Expected result: second asset bundle should be loaded, because it's a different bundle with different files
Reproducible with: 2017.1.2p2, 2017.2.0p1, 2017.3.0b8, 2018.1.0a3
Notes:
Providing CRC doesn't fix this
Renaming already built bundles doesn't fix this
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Add comment