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

Audio

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.