Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X
Votes
1
Found in
2019.3.0a11
2019.4
2020.3
2021.1
2021.1.5f1
2021.2
Issue ID
1341752
Regression
Yes
Crash on AudioMixer_CUSTOM_FindSnapshot when passing null as an argument to FindSnapshot()
How to reproduce:
1. Open the attached project from "MinimalTest.zip"
2. Open Scene "SampleScene"
3. Enter Play Mode
Reproducible with: 2019.3.0a11, 2019.4.28f1, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1
Not reproducible with: 2018.4.36f1, 2019.3.0a10
Expected result: Console should throw a "NullReferenceException" error
Actual result: The Editor crashes
First lines of stack trace:
0x00007ff6e3913288 (Unity) AudioMixer_CUSTOM_FindSnapshot
0x000001da9a2551d6 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Audio.AudioMixer:FindSnapshot (UnityEngine.Audio.AudioMixer,string)
0x000001da9a254f13 (Mono JIT Code) [test.cs:13] test:Update ()
0x000001dafddf6dd0 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffa8c24e640 (mono-2.0-bdwgc) [mini-runtime.c:2812] mono_jit_runtime_invoke
0x00007ffa8c1d2ad2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
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
- “Destroying assets is not permitted to avoid data loss” error thrown when creating a second Tile Palette Brush Pick Asset
- The “Copy to clipboard” button has no hover or click animations when hovering and clicking the “Copy to clipboard” button after selecting an issue from the “Code” tab of the Project Auditor window
- Saved Tile Palette Brush List items become malformed causing the list to become cut off when decreasing the Pick size with the slider
- Foldout triangle icons and the foldouts titles are not aligned/centered in the “Assembly” and “Areas” Filter windows of the Project Auditor window
- High MeshSkinning duration when using Vulkan
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a4
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b10
Resolution Note (fix version 2021.1):
Fixed in 2021.1.22f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.19f1
Added errors logged in the Console
Resolution Note (fix version 2019.4):
Fixed in 2019.4.31f1
Now an error is logged in console when passing null as an argument to FindSnapshot()