Copyright © 2026 Unity Technologies
How to reproduce:
Actual result: The Editor crashes with SIGABRT (exit code -6) and no managed exception is thrown
Expected result: WriteGameManagersSerializedFile rejects the null output path with a catchable managed exception and the Editor keeps running
Reproducible with: 6000.6.0a4 (d203f4c2ae2f), 6000.6.0b10, 6000.7.0a5
Not reproducible with: 6000.0.0f1, 6000.0.82f1, 6000.3.23f1, 6000.5.10f1, 6000.6.0a3
Reproducible on: Ubuntu 24.04 LTS, Ubuntu 26.04 LTS (by user), Windows 10 Pro
Not reproducible on: No other environments tested
Notes:
First few lines of the stack trace:
terminate called after throwing an instance of 'core::basic_string<char, core::StringStorageDefault<char> >'
Caught fatal signal - signo:6 code:-6 errno:0 addr:0x3e800114287
#7 BuildPipeline::WriteGameManagersSerializedFile(core::basic_string<char, core::StringStorageDefault<char> > const&, BuildPipeline::BuildContentSettings const&, BuildUsageTagGlobal const&, BuildPipeline::BuildReferenceMap const&)
#8 ContentBuildInterface_CUSTOM_WriteGameManagersSerializedFileRaw(BindingsManagedSpan, UnityEditor_Build_Content_BuildSettings const&, BuildUsageTagGlobal const&, void*, UnityEditor_Build_Content_WriteResult&)
#9 (wrapper managed-to-native) UnityEditor.Build.Content.ContentBuildInterface:WriteGameManagersSerializedFileRaw_Injected (UnityEngine.Bindings.ManagedSpanWrapper&,UnityEditor.Build.Content.BuildSettings&,UnityEditor.Build.Content.BuildUsageTagGlobal&,intptr,UnityEditor.Build.Content.WriteResult&)
#10 UnityEditor.Build.Content.ContentBuildInterface:WriteGameManagersSerializedFileRaw (string,UnityEditor.Build.Content.BuildSettings,UnityEditor.Build.Content.BuildUsageTagGlobal,UnityEditor.Build.Content.BuildReferenceMap)
#11 UnityEditor.Build.Content.ContentBuildInterface:WriteGameManagersSerializedFile (string,UnityEditor.Build.Content.WriteManagerParameters)
Issues you vote on will appear here