Search Issue Tracker
In Progress
Fix In Review for 2.7.x
Votes
0
Found in [Package]
2.7.3
Issue ID
ADDR-4078
Regression
Yes
[Addressables] Error "Destroy may not be called from edit mode! Use DestroyImmediate instead." is thrown when exiting the Play Mode
Reproduction steps:
1. Open the attached “IN-116318” project
2. Open the Package Manager window (Window > Package Manager)
3. Make sure a custom Addressables package isn’t used
4. Open the Addressables Groups window (Window > Asset Management > Addressables > Groups)
5. Create a new build (Build > New Build > Default Build Script)
6. Enter the Play Mode, pause and unpause it
7. Observe the Console window or the Editor.log
Expected result: No errors are thrown
Actual result: “Destroy may not be called from edit mode! Use DestroyImmediate instead.” is thrown
Reproducible with: 1.22.2 (2022.3.66f1, 6000.0.58f1, 6000.2.6f1, 6000.3.0b3, 6000.4.0a1), 1.27.0 (2022.3.66f1), 2.7.3 (6000.0.58f1, 6000.2.6f1, 6000.3.0b3, 6000.4.0a1)
Not reproducible with: 1.21.21 (2022.3.66f1, 6000.0.58f1, 6000.2.6f1, 6000.3.0b3, 6000.4.0a1)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Repeat step 6 in-case the error does not show up
- The error is too big, so it is added in the internal comments
- A workaround is provided in the internal comments, by changing the Addressables “AtlasSpriteProvider.cs” code
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
- ShaderGraph “Create Node” menu’s Search bar's typing cursor is barely visible since it's black on a dark background
Add comment