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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.