Search Issue Tracker
By Design
Votes
0
Found in
2018.2.5f1
Issue ID
1074753
Regression
No
Total objects in scene count increases each time an object with Audio source is selected
To reproduce:
1. Open the attached project (test.zip)
2. Open the Profiler
3. Enter Play mode
4. Select the New Sprite object in the Hierarchy
5. In the Profiler's Memory section, observe that when you select the New Sprite, Total objects in scene count increases by one
Expected: Total objects in scene count doesn't increase with each selection of the object with Audio Source
Reproduced in 2017.4.10f1, 2018.1.9f2, 2018.2.5f1, 2018.2.6f1, 2018.3.0a10
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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note:
This is not audio specific but rather a design issue in our profiler window. Tried with other GameObjects like a square/capsule etc and can see the same happening. The issue is that our profiler is accounting for the objects which might be instantiated by the selection inspector in the editor. Further to my discussion with the profiler team, this is by design and there is a disclaimer in our documentation stating that profiling in the editor is not representative. Based on this information, resolving this bug as designed.