Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.14.0 - preview.18
Issue ID
1271545
Regression
No
[ECS] EntityQuery.SetSharedComponentFilter generates GC Alloc every frame
How to reproduce:
1. Open the attached project (1271545-SharedGarbageRepro.zip)
2. Open the SampleScene and enter Play Mode
3. Open the Profiler window and start profiling
4. See the CPU Usage Module, PlayerLoop > SimulationSystemGroup GC Allocations
Expected result: no GC Alloc is generated
Actual result: 20 B of GC Alloc is generated every frame
Reproducible with: 2019.4.10f1(Entities preview.18 - 0.2.0, preview.4 - 0.11.1), 2020.1.5f1, 2020.2.0b2(Entities 0.14.0 - preview.18)
Could not test with: 2018.4.27f1(project incompatible), 2019.4.10f1(Entities preview - 0.1.1 namespace name 'AlwaysSynchronizeSystemAttribute' could not be found)
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
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when disabling "Allow FSR2" parameter while in Play Mode with Direct3D12 set as graphics API
- Crash on vkGetInstanceProcAddr when setting graphics API to "Vulkan" on Fantasy Kingdom learning project
- Overlay Camera "clear depth" not working on Vulkan+Pixel8
- Shadows from Shadow Caster 2D using 2D Colliders show incorrectly when tiles are removed at runtime
- Stencil buffer is incorrectly cleared across Vulkan render passes during depth-only clear operations when using CommandBuffer API
Resolution Note:
The reported behavior is by design. We've communicated workarounds to the reporting team; please close if the workaround is acceptable, or let us know if you need additional assistance.