Search Issue Tracker
Won't Fix
Votes
1
Found in [Package]
1.0.10 (Patch 1)
1.2.X
7000.0.0a1
Issue ID
ECSB-445
Regression
No
EntityManager.CreateSingleton<T>() method creates a memory leak when Reloading Domain
How to reproduce:
1. Open the “CreateSingleton_DomainReload_Bug“ project
2. Change “Leak Detection Level” to “Enabled With Stack Trace” (Edit > Preferences > Jobs)
3. Open the “SampleScene”
4. Enter Play Mode and wait until “singleton create” is logged to Console then exit Play Mode
5. Open the “SomeSystem” Script Asset and add a newline at the end of the file then save it
6. Return to Editor and wait for Domain Reload then observe the Console
Expected result: no messages are logged
Actual result: “Found 1 leak(s) from callstack” message is logged
Reproduced with: 1.0.8 (2022.3.1f1), 1.0.10 (2022.3.1f1)
Reproduced on: Windows 11
Notes:
1. Full message log in internal comments
2. Setting “Leak Detection Level” to “Enabled” logs multiple “Found 1 leak(s) from callstack” messages mostly pointing to the same memory address
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
After review, we have elected not to address this issue.