Search Issue Tracker
Fixed in 0.16.0-preview.21
Votes
1
Found in [Package]
0.1.0, 0.6.0-preview.24
Issue ID
1210237
Regression
No
[ECS] GC Alloc is generated every frame in Play Mode when a SubScene is active in the current Scene
How to reproduce:
1. Open attached project "SubSceneAlloc.zip" and scene "SampleScene"
2. Enter Play Mode
3. In Profiler Window, click on any timeline frame
4. Observe GCAlloc for "Default World Unity.Scenes.SceneSectionStreamingSystem" and "Default World Unity.Scenes.SceneSystem"
Expected result: GC Alloc does not occur every frame
Actual result: GC Alloc occurs every frame
Reproducible with: 2019.3.2f1, 2020.1.0a24
Could not test with: 2017.4.36f1, 2018.4.17f1 (no entities SubScene support)
Reproducible with package versions: 0.1.0, 0.6.0-preview.24
Note:
The issue does not reproduce when every SubScene in the active Scene is disabled
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
Add comment