Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.0f3
Issue ID
828639
Regression
No
Crash in AudioProfiler::CaptureChannelGroup when destroying an AudioClip while project is running in playmode with profiler open
Unity crashes when calling Destroy method with a parameter that is an AudioClip during play-mode when profiler window is open.
To reproduce:
1. Open the attached project.
2. Open the "Menu" scene.
3. Open profiler window.
4. Enter play-mode.
5. Press on one of the buttons in the game window so that the song starts playing.
6. Observe Unity crashing
Expected: Unity does not crash when profiler is open
Actual: Unity crashes when profiler is open
Note: if profiler window is not opened, Unity does not crash.
Unity with profiler window open does not crash with "Destroy(PreviewAudio)" on 130th line of "SongSelection" script commented out.
Reproduced on: 5.4.0f3, 5.4.0p3, 5.5.0b2
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #767466