Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.4.X

Won't Fix in 2017.2.X

Votes

2

Found in

2017.1.0f3

Issue ID

930758

Regression

Yes

[Timeline] Timeline with a disabled Audio Source causes Editor Crash when exiting play mode

Audio

-

To reproduce:
1. Open a scene in a project which contains an audio clip
2. Create a timeline
3. Create a Game Object with an Audio Source component and disable it
4. Set the audio clip value for the same Game Object
5. Add the Game Object with the Audio Source to the timeline
6. Play the scene
7. Exit the play mode

Desired outcome: The editor does not crash.
Actual result: The editor crashes.

Reproduced with 2017.1.0b7, 2017.1.0f3, 2017.2.0a1, 2017.2.0b3
Not reproduced with 2017.1.0a1, 2017.1.0b6
Regression introduced in 2017.1.0b7

Stack trace:
(Unity) AudioSource::Stop
(Unity) AudioManager::StopSources
(Unity) PlayerLoopController::ExitPlayMode
(Unity) PlayerLoopController::SetIsPlaying
(Unity) Application::TickTimer
(Unity) MainMessageLoop
(Unity) WinMain
(Unity) __tmainCRTStartup
(KERNEL32) BaseThreadInitThunk
(ntdll) RtlUserThreadStart

Comments (13)

  1. q8f13

    Dec 18, 2017 07:57

    It seems like AudioListener could also cause this. Verified on 2017.1.1f1, Win10.0 Pro v14393

  2. MorrisonCole

    Nov 13, 2017 11:27

    Fwiw, I have the same issue in 2017.2.0f3

  3. Salzian

    Sep 17, 2017 14:30

    Got the same crash in version 2017.1.1f1

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.