Fix issue when "Domain unloader" wasn't found (renamed to "Domain Unloader")
This commit is contained in:
Родитель
ff44a02005
Коммит
8ece671f30
|
@ -61,7 +61,11 @@ namespace UnityEditor.EditorIterationProfiler
|
|||
AddMarkerFlags(marker, EventDataFlags.UserCode);
|
||||
}
|
||||
|
||||
#if UNITY_2020_3_OR_NEWER
|
||||
AddThreadMarker("UnloadDomain", "Domain Unloader", "Finalizer");
|
||||
#else
|
||||
AddThreadMarker("UnloadDomain", "Domain unloader", "Finalizer");
|
||||
#endif
|
||||
}
|
||||
|
||||
void Initialize(IIterationList iterationList)
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace UnityEditor.EditorIterationProfiler
|
|||
}
|
||||
|
||||
iter.Dispose();
|
||||
throw new ArgumentException($"Could not find thread named '{threadName}'");
|
||||
throw new ArgumentException($"Could not find thread named '{threadName}'. Depending on the Unity version, it could have been renamed.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче