Search Issue Tracker
Fixed
Votes
2
Found in [Package]
1.0.0
Issue ID
ECSB-236
Regression
Yes
[Entities] Memory leak when spawning entities
Steps to reproduce:
1. Open the attached “EntityGraphicsBug” project
2. Open the “SampleScene” scene
3. Enter Play Mode
4. Press “1” on the keyboard
5. Observe the Task Manager
Expected result: The memory stays the same
Actual result: The memory leaks
Reproducible with: 1.0.0-pre.44 (2022.2.11f1), 1.0.0-pre.65 (2022.2.11f1, 2023.1.0b8, 2023.2.0a6)
Not reproducible with: 1.0.0-pre.15 (2022.2.11f1)
Could not test with: 1.0.0-pre.65 (2020.3.46f1, 2021.3.21f1) (Entities Graphics package requires 2022.1+ Editor version)
Reproduced on: Windows 11 (Intel)
Not reproduced on: macOS Monterey 12.2 (Intel)
Notes:
- Adding “public void OnCreate(ref SystemState state) { throw new System.NotImplementedException(); }” to SimpleMoveSystem and PrefabSpawnerSystem scripts fixes the issue and throws “NotImplementedException: The method or operation is not implemented.” error in the Console
- Comparing before and after memory leak snapshots in Memory Profiler indicates that memory usage climbs in GfxDeviceClient
- The issue is reproducible in both Editor and in a build
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note:
Fixed by another internal issue: UUM-31915: Graphics memory usage keeps increasing with Entities Graphics