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
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is thrown when launching a project with a corrupted library
Add comment