Search Issue Tracker
Fixed
Fixed in 1.0.X - Entities
Votes
0
Found in [Package]
1.0.0
Issue ID
ECSB-398
Regression
Yes
ECS memory leak when refreshing project while in Play mode
Reproduction steps:
1. Open the attached project “MemLeakProject”
2. Open the “Assets/OutdoorsScene” Scene
3. Open the Preferences window (Unity > Settings on macOS) and open the Jobs tab
4. Make sure that the “Leak Detection Level” field is set to “Enabled With Stack Trace”
5. Enter the Play mode
6. Open the “Assets/Scripts/GameSystem.cs” script file in any IDE
7. Add a space on any line at the end and save the script
8. Go back to Unity Editor and refresh the project (Cmd + R or Ctrl + R)
9. Inspect the Console window
Expected result: The Console window is empty
Actual result: The Console contains messages saying that a memory leak happened
Reproducible with: 1.0.8 (2022.2.21f1, 2023.1.0b18, 2023.2.0a16), 1.0.10 (2022.3.0f1, 2023.1.0b19, 2023.2.0a17)
Not reproducible with: 1.0.0-pre.65 (2022.2.21f1)
Reproducible on: macOS 13.3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment