Reproduction steps:
1. Open the attached "IN-150970" project
2. In the menu bar, navigate to "Bug Repro" > "ContentBuildInterface null Type" > "1. CrashCalculatePlayerSerializationHashForType"
3. Observe the crash
Reproducible with: 6000.0.0f1, 6000.0.84f1, 6000.3.24f1, 6000.5.11f1, 6000.6.2f1, 6000.7.0b1, 7000.0.0a1
Reproducible environment: Ubuntu 24.04.4 LTS, Ubuntu 26.04 LTS (Reporter)
Not reproducible environment: No other environments tested
Notes:
- The same method returns a hash when a valid Type is passed with a null TypeDB, menu item "0. Control ValidType NullTypeDB" in the same project
- Reproduces in batch mode with exit code 139, the command is in the "Internal Notes" section
First few lines of the stack trace:
0x00788ffd445330 in (Unknown)
0x0078850617deb2 in mono_class_enum_basetype
0x0062f708ed5be7 in scripting_class_get_parent(ScriptingClassPtr)
0x0062f7040a3a5c in BuildPipeline::GeneratePlayerScriptTypeSerializationHash(ScriptingClassPtr const&, CoreScriptingClasses const&, core::hash_set<ScriptingClassPtr, core::hash<ScriptingClassPtr>, std::equal_to<ScriptingClassPtr> >&, TypeDB*)
0x0062f7040a3925 in BuildPipeline::CalculatePlayerSerializationHashForType(ScriptingClassPtr, TypeDB*)
0x0062f7061674ac in ContentBuildInterface_CUSTOM_CalculatePlayerSerializationHashForType(ScriptingBackendNativeObjectPtrOpaque*, void*, Hash128&)