Search Issue Tracker

In Progress

Fix In Review for 6000.0.X

Fixed in 6000.1.0a3

Votes

0

Found in

6000.0.23f1

Issue ID

UUM-83230

Regression

Yes

Crash when undoing added clips that are currently playing in the Audio Random Container

--

-

*Steps to reproduce:*
# Create and open an empty project.
# Import some audio clips.
# Create an Audio Random Container (Assets > Create > Audio > Audio Random Container).
# Add a clip to the Audio Random Container.
# Add another clip to the Audio Random Container.
# Preview the Audio Random Container.
# While the second clip is playing, perform undo with the shortcut (cmd + Z).

*Actual results:* Editor crashes.

*Expected results:* Editor does not crash and any playback of the Audio Random Container asset stops.

*Reproducible with versions:*
6000.0.23f1

*Not reproducible with versions:*
6000.0.0f1

*Can’t test with versions:*
2022.3
2021.3

*Tested on (OS):* MacOS M1 14.6.1

*Notes:*
* Only happens when issuing the undo with a shortcut.
* This also happens if you are in play mode with an audio source playing the Audio Random Container asset.

*Stack trace*
{code:java}
Obtained 32 stack frames.
#0  0x000001031e15d8 in AudioContainerElement::GetAudioClip() const
#1  0x0000010726faac in AudioSource::ApplyDoppler(AudioSource::ParameterCache const&, SoundChannel)
#2  0x0000010726cacc in AudioSource::ApplyCachedParameters(SoundChannel)
#3  0x000001072706a0 in AudioSource::DoUpdate()
#4  0x00000107270fe8 in AudioSource::Update()
#5  0x00000107294604 in AudioManager::Update()
#6  0x000001071e1018 in AudioModule::Update()
#7  0x000001071e2960 in InitializeAudioManagerCallbacks()::PostLateUpdateUpdateAudioRegistrator::Forward()
#8  0x00000104c0aca4 in ExecutePlayerLoop(NativePlayerLoopSystem*)
#9  0x00000104c0b0a8 in ExecutePlayerLoop(NativePlayerLoopSystem*)
#10 0x00000104c0b490 in PlayerLoop()
#11 0x00000109332f60 in EditorPlayerLoop::Execute()
#12 0x00000109346c30 in PlayerLoopController::InternalUpdateScene(bool, bool)
#13 0x0000010934645c in PlayerLoopController::UpdateSceneIfNeededFromMainLoop()
#14 0x000001093281b4 in Application::TickTimer()
#15 0x0000010cca716c in -[EditorApplication onEditorUpdatesTickTimer]
#16 0x000001879c5288 in __NSFireTimer
#17 0xb47c0001868755b8 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#18 0xc65000018687525c in __CFRunLoopDoTimer
#19 0x2c6c800186874d94 in __CFRunLoopDoTimers
#20 0xb72d8001868581cc in __CFRunLoopRun
#21 0x7610000186857434 in CFRunLoopRunSpecific
#22 0xc55800019100119c in RunCurrentEventLoopInMode
#23 0x3028800191000fd8 in ReceiveNextEventCommon
#24 0xbc1b000191000d30 in _BlockUntilNextEventMatchingListInModeWithFilter
#25 0x9a5980018a0b6cc8 in _DPSNextEvent
#26 0x780b80018a8ad4d0 in -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#27 0x743280018a0a9ffc in -[NSApplication run]
#28 0x820480018a081240 in NSApplicationMain
#29 0x722780010ccca890 in EditorMain(int, char const**)
#30 0x0000010cccac8c in main
#31 0x000001863ef154 in start{code}

  1. Resolution Note (fix version 6000.1.0a3):

    Fixed a bug that would cause Unity to crash if you perform an undo action in the audio random container window while the audio random container is playing.

  2. Resolution Note (fix version 6000.0):

    Fixed a bug that would cause Unity to crash if you perform an undo action in the audio random container window while the audio random container is playing.

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.