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
- Sprite Importer Checkbox Label Truncated in UI (2D Template)
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
Add comment