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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
Resolution Note:
Fixed by another internal issue: UUM-31915: Graphics memory usage keeps increasing with Entities Graphics