Search Issue Tracker
Fixed in 2022.2.9f1
Fixed in 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a4
Votes
1
Found in
2020.3.39f1
2021.3.9f1
2022.1.14f1
2022.2.0b6
2023.1.0a8
2023.2.0a1
Issue ID
UUM-13510
Regression
No
Scene Asset Bundles are not unloaded when UnloadAllAssetBundles(true) method is called
Steps to reproduce:
1. Open the user’s attached project
2. In the main Toolbar click Repro issue > Build bundle
3. Click Repro issue > Load bundle
4. Again click Repro issue > Load bundle
5. Observe the Console window
Expected result: Asset Bundles are unloaded and no error messages are thrown to the console
Actual result: “The AssetBundle 'StreamingAssets\scenebundle' can't be loaded because another AssetBundle with the same files is already loaded.“ error is thrown to the console
Reproducible with: 2020.3.39f1, 2021.3.9f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a8
Reproducible on: Windows 10
Note: “Build bundle“ option fails when using Unity 2022.1.14f1 and above, but if the bundles were built using another version the main issue is still reproducible
Comments (1)
-
dizi451
Nov 20, 2022 23:42
pls fix that, it happened to me
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2023.2):
Fixed issue where UnloadAllAssetBundles does not unload scene bundles.
Resolution Note (fix version 2023.1):
Calling AssetBundle.UnloadAllAssetBundles() will now also unload AssetBundles containing Scenes. In addition, AssetBundle.GetAllLoadedAssetBundles() will now include Scene AssetBundles in the list that it returns.
Resolution Note (fix version 2022.2):
Fixed issue where UnloadAllAssetBundles does not unload scene bundles.