This version of Unity is unsupported.
Method group is Obsolete

PrefabUtility.InstantiateAttachedAsset

Obsolete InstantiateAttachedAsset is deprecated.

Declaration

public static Object InstantiateAttachedAsset(Object targetObject);

Description

Instantiate an asset that is referenced by a Prefab and use it on the Prefab instance.