Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X
Votes
0
Found in
2019.4
2021.1.0a2
2021.1.15f1
2021.2
2022.1
Issue ID
1354002
Regression
Yes
Crash on AudioCustomFilter::GetOrCreateDSP when recompiling scripts while in Play Mode
How to reproduce:
1. Open the attached project "MusicTheoryApp.zip"
2. Open the script "ToggleButton.cs"
3. Inside the script, add "Debug.Log("Test");" in Start() method and don't save it
4. Enter Play Mode
5. Save the script "ToggleButton.cs"
6. Return to the Editor
7. If it didn't crash - Exit Play Mode
Expected result: Editor doesn't crash
Actual result: Editor crashes
Reproducible with: 2019.4.29f1, 2021.1.0a2, 2021.1.16f1, 2021.2.0b6, 2022.1.0a4
Not reproducible with: 2020.1.0a1, 2020.3.15f2, 2021.1.0a1
Notes:
- This wasn't reproducible on macOS Big Sur 11.2.4 & Visual Studio 2019
- This was reproducible on Windows 8 & Visual Studio 2017
- Bug was reported using Windows 10 & Visual Studio 2017
- The crash on 2019.4.29f1 has a different stack trace and was fixed on 2020.1.0a1
Stack trace:
0x00007FF7BC661012 (Unity) AudioCustomFilter::GetOrCreateDSP
0x00007FF7BC63CE15 (Unity) AudioSource::ApplyFilters
0x00007FF7BC619B77 (Unity) AudioModule::SetBypassOnDSP
0x00007FF7BB6909D8 (Unity) MonoBehaviour::AddToManager
0x00007FF7BB718ED4 (Unity) SerializableManagedRefsUtilities::AwakeInstancesAfterBackupRestoration
0x00007FF7BB693B67 (Unity) MonoManager::EndReloadAssembly
0x00007FF7BB69A7BE (Unity) MonoManager::ReloadAssembly
0x00007FF7BBE3959E (Unity) ReloadAllUsedAssemblies
0x00007FF7BC05B8A9 (Unity) ImportAndPostprocessOutOfDateAssets
0x00007FF7BC06738B (Unity) RefreshInternalV2
0x00007FF7BC06F3B6 (Unity) StopAssetImportingV2
0x00007FF7BC068539 (Unity) RefreshV2
0x00007FF7BC000660 (Unity) AssetDatabase::Refresh
0x00007FF7BBB68C0E (Unity) Application::AutoRefresh
0x00007FF7BBF9A080 (Unity) ContainerWindow::ContainerWndProc
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
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a11
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b12
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.24f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.20f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.32f1