Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X
Votes
0
Found in
2021.3.30f1
2022.3.0f1
2022.3.9f1
2023.1.13f1
2023.2.0b9
2023.3.0a5
6000.0.0b11
Issue ID
UUM-49100
Regression
No
Memory leak when refreshing AssetDatabase after editing script
Reproduction steps:
1. Open the attached project "ReproProj
2. Open the “/Assets/Scenes/GameScene.unity“
3. Set External Script Editor to Visual Studio 2022 by going to Edit > Preferences
4. In Unity, click Assets > Open C# Project
5. Make changes to any script within Assets/Scripts/
6. Save changes in Visual Studio
7. Switch back to Unity Editor, and wait for AssetDatabase to refresh
8. Repeat steps 3, 4, 5, and 6 at least 3 times
9. Observe the Editor’s memory usage
Expected result: Memory usage stays the same
Actual result: Memory usage increases after each time step 8 is repeated
Reproducible with: 2.0.18 (2023.3.0a5), 2.0.20 (2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5)
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
Add comment