Version: 5.3 (switch to 5.4b)
Область Memory
Профайлер физики

Область Audio

In the Profiler window there is a pane called Audio. The pane monitors significant performance meters about the audio system, such as total load and voice counts. When you highlight the pane, the lower part of the window changes into a detailed view about various parts of the audio system not covered by the graphs.

  • Playing Sources - это количество проигрываемых в выбранном кадре источников звука. Отслеживайте их количество, чтобы знать, не перегружена ли аудио система.
  • Paused Sources - это количество источников звука на паузе в выбранном кадре.
  • Audio Voice - это текущее количество звуковых дорожек (каналов FMOD). PlayOneShot использует дорожки, которые не видно в Playing Sources.
  • Audio Memory - это общее количество используемой памяти аудио движком.

Также, в нижней части окна профайлера можно увидеть и использование CPU. Следите за этим показателем, чтобы выяснить, не потребляет ли аудио движок слишком много CPU ресурсов сам по себе.

Additionally, by clicking the Channels / Groups / Channels and groups buttons detailed per-frame logging of sound events can be obtained and scrubbed, just like the renderer and memory graphs. The rows in the frame log reveal information about which audio sources played which clips, the volume at which these were played, the distance to the listener, relative playback time etc. Clicking on one of these rows highlights the associated audio source and clip in the project browser and hierarchy.

AudioProfilerChannels Channel view. When clicking a row first the AudioClip asset is highlighted, then the AudioSource in the hierarchy that played it.

AudioProfilerHierarchyHighlight Channels and groups view. Here the AudioSource that played the sound in the selected row is highlighted.

Область Memory
Профайлер физики