How to reproduce:
- Open the attached “IN-151133“ project
- In the menu bar, select “Bug Repro”->”Create Asset From In-Scene Asset with Null Path”
- Observe the crash
Reproducible with: 6000.0.0f1, 6000.0.82f1, 6000.3.23f1, 6000.5.10f1, 6000.6.0b10, 6000.7.0a5
Reproducible on: Ubuntu 24.04, MacOS 26.6 (M1)
Not reproducible on: No other environments tested
First few lines of the stack trace:
#0 0x0000018c512ac4 in _platform_strlen
#1 0x00000103df6a0c in InSceneAssetUtility_CUSTOM_CreateAssetFromInSceneAsset(void*, BindingsManagedSpan*)
#2 0x00000430a956a0 in (wrapper managed-to-native) UnityEditor.InSceneAssetUtility:CreateAssetFromInSceneAsset_Injected (intptr,UnityEngine.Bindings.ManagedSpanWrapper&) [
{0xa118630d0}
+ 0x68] (0x430a95638 0x430a95704) [0x145a42a80 - Unity Child Domain]
#3 0x00000430a9552c in UnityEditor.InSceneAssetUtility:CreateAssetFromInSceneAsset (UnityEngine.Object,string) [
{0xa11862fb0}
+ 0x1d4] (0x430a95358 0x430a95588) [0x145a42a80 - Unity Child Domain]
#4 0x00000430a93a90 in BugHunt.Packs.InSceneAssetUtilityCreateAssetFromInSceneAssetNullPathRepro:Run () [
{0xa04b14db8}
+ 0x100] [/Users/dominyk.cecenikov/Downloads/repro/Assets/Editor/InSceneAssetUtilityCreateAssetFromInSceneAssetNullPathRepro.cs :: 50u] (0x430a93990 0x430a93bdc) [0x145a42a80 - Unity Child Domain]