TMP Null Reference Exception / NATIVE CRASH / SIGSEGV - Nothing useful in logs, builds crashing

Hi!
I’m having an issue where my builds crash - on a regular basis.

Unity 2021.3 LTS, all packages updated to the latest available versions including TMP.

When I check the console and logs in run-time (and after the build crashes), the only things logged are the following errors related to TMP. Nothing else implies there is an issue from my understanding of the logs. The error also only pops up in build - it never appears in the editor, albeit I experience crashes in the editor (very randomly though, which I can’t really relate to the builds - editor crashes once every few days, the build literally every time at a specific spot in the game scene).

So far I’ve tried:

  • Deleting models, scripts, shaders, and objects from the repo, then building an exe;
  • Reinstalling all packages;
  • Wiping library;
  • Remaking the scene from zero, slowly re-adding objects 1 by 1;

I’ve tested primarily by adding/removing all objects in the scene and rebuilding it, which left me with around 50 builds over the last 4 days. Crashes in every conceivable case and setting, so I’m at my wit’s end. The TMP errors are a 100% regular occurrence, but I have no way to track them.

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) [0x0002c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\MaterialReferenceManager.cs:525
  at TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+UnicodeChar[] unicodeChars) [0x000af] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1042
  at TMPro.TMP_Text.ParseInputText () [0x00069] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMP_Text.cs:1902
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x000c2] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1644
  at TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) [0x0004c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TextMeshProUGUI.cs:216
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x0015f] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:215
  at UnityEngine.Canvas.SendWillRenderCanvases () [0x0000c] in C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:performUpdate() (at X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:219)
UnityEngine.Canvas:SendWillRenderCanvases() (at C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96)

NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) [0x0002c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\MaterialReferenceManager.cs:525
  at TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+UnicodeChar[] unicodeChars) [0x000af] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1042
  at TMPro.TMP_Text.ParseInputText () [0x00069] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMP_Text.cs:1902
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x000c2] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1644
  at TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) [0x0004c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TextMeshProUGUI.cs:216
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x0015f] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:215
  at UnityEngine.Canvas.SendWillRenderCanvases () [0x0000c] in C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:performUpdate() (at X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:219)
UnityEngine.Canvas:SendWillRenderCanvases() (at C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96)

NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) [0x0002c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\MaterialReferenceManager.cs:525
  at TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+UnicodeChar[] unicodeChars) [0x000af] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1042
  at TMPro.TMP_Text.ParseInputText () [0x00069] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMP_Text.cs:1902
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x000c2] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1644
  at TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) [0x0004c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TextMeshProUGUI.cs:216
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x0015f] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:215
  at UnityEngine.Canvas.SendWillRenderCanvases () [0x0000c] in C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:performUpdate() (at X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:219)
UnityEngine.Canvas:SendWillRenderCanvases() (at C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96)

NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) [0x0002c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\MaterialReferenceManager.cs:525
  at TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+UnicodeChar[] unicodeChars) [0x000af] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1042
  at TMPro.TMP_Text.ParseInputText () [0x00069] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMP_Text.cs:1902
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x000c2] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1644
  at TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) [0x0004c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TextMeshProUGUI.cs:216
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x0015f] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:215
  at UnityEngine.Canvas.SendWillRenderCanvases () [0x0000c] in C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:performUpdate() (at X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:219)
UnityEngine.Canvas:SendWillRenderCanvases() (at C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96)

NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) [0x0002c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\MaterialReferenceManager.cs:525
  at TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+UnicodeChar[] unicodeChars) [0x000af] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1042
  at TMPro.TMP_Text.ParseInputText () [0x00069] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMP_Text.cs:1902
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x000c2] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1644
  at TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) [0x0004c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TextMeshProUGUI.cs:216
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x0015f] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:215
  at UnityEngine.Canvas.SendWillRenderCanvases () [0x0000c] in C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:performUpdate() (at X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:219)
UnityEngine.Canvas:SendWillRenderCanvases() (at C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96)

NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) [0x0002c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\MaterialReferenceManager.cs:525
  at TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+UnicodeChar[] unicodeChars) [0x000af] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1042
  at TMPro.TMP_Text.ParseInputText () [0x00069] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMP_Text.cs:1902
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x000c2] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1644
  at TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) [0x0004c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TextMeshProUGUI.cs:216
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x0015f] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:215
  at UnityEngine.Canvas.SendWillRenderCanvases () [0x0000c] in C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:performUpdate() (at X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:219)
UnityEngine.Canvas:SendWillRenderCanvases() (at C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96)

NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) [0x0002c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\MaterialReferenceManager.cs:525
  at TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+UnicodeChar[] unicodeChars) [0x000af] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1042
  at TMPro.TMP_Text.ParseInputText () [0x00069] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMP_Text.cs:1902
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x000c2] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TMPro_UGUI_Private.cs:1644
  at TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) [0x0004c] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.textmeshpro@3.0.6\Scripts\Runtime\TextMeshProUGUI.cs:216
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x0015f] in X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:215
  at UnityEngine.Canvas.SendWillRenderCanvases () [0x0000c] in C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:performUpdate() (at X:\Projects\Projekty\Age of Aincrad 2020 Universal RP\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:219)
UnityEngine.Canvas:SendWillRenderCanvases() (at C:\buildslave\unity\build\Modules\UI\ScriptBindings\UICanvas.bindings.cs:96)
[/QUOTE]

At some point after the above, the game crashes. Bottom of the logs have the following:

Invalid OffsetPtr access! Pointer is NULL
0x00007ff7a77a0c3d (Unity) StackWalker::GetCurrentCallstack
0x00007ff7a77a7919 (Unity) StackWalker::ShowCallstack
0x00007ff7a87148b3 (Unity) GetStacktrace
0x00007ff7a8da98ad (Unity) DebugStringToFile
0x00007ff7a8da95d2 (Unity) AssertImplementation
0x00007ff7a7bd8ec4 (Unity) audio::mixer::ApplyBlendedSnapshots
0x00007ff7a7bdf85d (Unity) audio::mixer::UpdateAudioMixerMemory
0x00007ff7a7bdd867 (Unity) audio::mixer::CreateAudioMixerMemory
0x00007ff7a7bb2eaa (Unity) AudioMixer::EnsureValidRuntime
0x00007ff7a7bc3723 (Unity) AudioMixer::Update
0x00007ff7a7bc338a (Unity) AudioManager::Update
0x00007ff7a7b87ce1 (Unity) AudioModule::Update
0x00007ff7a7b8774b (Unity) `InitializeAudioManagerCallbacks'::`2'::postLateUpdateUpdateAudioRegistrator::Forward
0x00007ff7a738437c (Unity) ExecutePlayerLoop
0x00007ff7a7384453 (Unity) ExecutePlayerLoop
0x00007ff7a738a099 (Unity) PlayerLoop
0x00007ff7a82d0d78 (Unity) PlayerLoopController::UpdateScene
0x00007ff7a82cef5f (Unity) Application::TickTimer
0x00007ff7a871aa4a (Unity) MainMessageLoop
0x00007ff7a871f2fb (Unity) WinMain
0x00007ff7a9a518ee (Unity) __scrt_common_main_seh
0x00007ffaba867034 (KERNEL32) BaseThreadInitThunk
0x00007ffabb902651 (ntdll) RtlUserThreadStart


=================================================================
    Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
    Managed Stacktrace:
=================================================================
=================================================================
Received signal SIGSEGV
Obtained 17 stack frames
0x00007ff7a7bdf85d (Unity) audio::mixer::UpdateAudioMixerMemory
0x00007ff7a7bdd867 (Unity) audio::mixer::CreateAudioMixerMemory
0x00007ff7a7bb2eaa (Unity) AudioMixer::EnsureValidRuntime
0x00007ff7a7bc3723 (Unity) AudioMixer::Update
0x00007ff7a7bc338a (Unity) AudioManager::Update
0x00007ff7a7b87ce1 (Unity) AudioModule::Update
0x00007ff7a7b8774b (Unity) `InitializeAudioManagerCallbacks'::`2'::postLateUpdateUpdateAudioRegistrator::Forward
0x00007ff7a738437c (Unity) ExecutePlayerLoop
0x00007ff7a7384453 (Unity) ExecutePlayerLoop
0x00007ff7a738a099 (Unity) PlayerLoop
0x00007ff7a82d0d78 (Unity) PlayerLoopController::UpdateScene
0x00007ff7a82cef5f (Unity) Application::TickTimer
0x00007ff7a871aa4a (Unity) MainMessageLoop
0x00007ff7a871f2fb (Unity) WinMain
0x00007ff7a9a518ee (Unity) __scrt_common_main_seh
0x00007ffaba867034 (KERNEL32) BaseThreadInitThunk
0x00007ffabb902651 (ntdll) RtlUserThreadStart

If anyone could help me trace the issue I’d be eternally grateful.

Are you sure the crash is from TMP? The stacktrace seems to imply it’s related to audio.
Something to do with the audio mixer? Maybe take a look at any audio sources you have and see if anything is broken. If you can reproduce the error then a bug report would be great.

I have the same problems in my Android build with 2021.3.9f1. It is about AudioMixer. I was developing my project in 2020.1.17f1 almost a year and I had to upgrade it to use new network features of 2021 and stuck at this problem. Any idea?

I have simular problems in my Android build with 2021.3.11f1. It’s seem about AudioMixer.
Will crash in Editor when loading assetbundle for android.
Also crash in mobile

audio::mixer::UpdateAudioMixerMemory(audio::mixer::AudioMixerConstant const&, audio::mixer::AudioMixerMemory&, float, FMOD::System*, float)
??:?
audio::mixer::CreateAudioMixerMemory(audio::mixer::AudioMixerConstant const&, FMOD::System*, RuntimeBaseAllocator&, int, bool, char const*)
??:?
AudioMixer::EnsureValidRuntime()
??:?
AudioMixer::Update(float)
??:?
AudioManager::Update()
??:?
AudioModule::Update()
??:?
ExecutePlayerLoop(NativePlayerLoopSystem*)
??:?
ExecutePlayerLoop(NativePlayerLoopSystem*)
??:?
PlayerLoop()
??:?
UnityPlayerLoop()
??:?
nativeRender(_JNIEnv*, _jobject*)
??:?

My crash is the same with this.
https://issuetracker.unity3d.com/issues/crash-on-audio-mixer-updateaudiomixermemory-when-entering-play-mode

I got many “Invalid OffsetPtr access! Pointer is NULL” in editor log.