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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note:
Fixed by another internal issue: UUM-31915: Graphics memory usage keeps increasing with Entities Graphics