Search Issue Tracker
Fixed
Fixed in 2023.2.17f1, 6000.0.0b13
Votes
0
Found in
2023.2.9f1
2023.3.0b6
6000.0.0b11
Issue ID
UUM-63433
Regression
No
Crash on AudioPlayableOutput::SetTargetAudioSource when enabling the "Audio Source" Component in Play Mode, "Enter Play Mode Options" is enabled, and ”Audio Source” has its “Audio Resource“ set as an “Audio Random Container”
How to reproduce:
1. Open the attached “ARCTest.zip“ project
2. Open the “Assets/Test.unity“ Scene
3. Select the “Assets/EmptyBehaviour.cs“ Script and reimport it (press the right mouse button and then “Reimport“)
4. Enter Play Mode
5. Enable the “Audio Source“ Component on the “Audio Source“ GameObject
6. Observe the crash
Note:
* This has to do with project setting Editor > Enter Play Mode Settings > Enter Play Mode Options. It will only crash if the following settings are as such:
{code:java}
Enter Play Mode Options = true
Reload Scene = false{code}
Reproducible with: 2023.2.0a9, 2023.2.9f1, 2023.3.0b6
Not reproducible with: 2021.3.35f1, 2022.3.19f1, 2023.2.0a8
Reproducible on: macOS 14.2.1 Sonoma (Intel)
Not reproducible on: No other environment tested
First few lines of the stack trace:
0x0000010334aea8 in AudioPlayableOutput::SetTargetAudioSource(PPtr<AudioSource>)
0x000001033001e8 in AudioRandomContainerRuntime::Update()
0x0000010331b8e8 in AudioSource::Update()
0x00000103331264 in AudioManager::Update()
0x000001032e5270 in AudioModule::Update()
0x000001032e5990 in InitializeAudioManagerCallbacks()::PostLateUpdateUpdateAudioRegistrator::Forward()
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2023.2.17f1):
Fixed AudioRandomContainer crash after domain reload if scene reloading disabled / already in playmode