Search Issue Tracker
Fixed
Fixed in 1.21.17
Votes
0
Found in [Package]
1.21.15
Issue ID
ADDR-3503
Regression
No
Addressables.Release() throws ArgumentException when Play mode has been exited twice
Reproduction steps:
1. Open project “AddressablesReleaseIssue.zip”
2. Open the “SampleScene”
3. Go to “Window\Asset Management\Addressables\Groups”
4. Build the Addressable Group through “Build\New Build\Default Build Script”
5. Enter and exit Play mode twice
6. Observe Console
Expected result: No errors are thrown
Actual result: “ArgumentException: An item with the same key has already been added.” is thrown
Reproducible with: 1.20.5, 1.21.15 (2021.3.30f1, 2022.3.9f1, 2023.1.12f1, 2023.2.0b9, 2023.3.0a5)
Fixed in: 1.21.17 (2021.3.30f1, 2022.3.9f1, 2023.1.12f1, 2023.2.0b9, 2023.3.0a5)
Reproducible on: macOS Ventura 13.2.1 (Intel)
Not reproducible on: no other environment tested
Notes:
- The issue only reproduces when Enter Play Mode Options = On and Reload Domain = Off.
- The issue only reproduces when Play Mode Script = Use Existing Build. (Not reproduced with "Use Asset Database" or "Simulate Groups".)
- The issue reproduces when Addressables.Release() is called on OnDestroy() or OnApplicationQuit(). But does not reproduce in other MonoBehaviour events (such as Start(), Update(), etc.)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Awaitable.NextFrameAsync() fails to resume when invoked multiple times from the playModeStateChanged event
- Text input duplicates in the TextField when textField.isDelayed is set to true and typing with a Japanese keyboard layout
- “AssetDatabase.GetMainAssetTypeAtPath" returns the incorrect type when using a global namespace class with the same name as a Unity type
- Editor silently crashes when switching platforms when Meta XR Core SDK is imported
- Crash on Object::SetCachedScriptingObject when entering the Play Mode immediately after stopping asynchronous operations in the previous Play Mode session
Add comment