unity error creating asset at path code example
Example: unity error creating asset at path
AssetDatabase.CreateAsset(asset, "Assets/XXX/XXX.asset");
// Make sure the the starts with "Assets/"
AssetDatabase.CreateAsset(asset, "Assets/XXX/XXX.asset");
// Make sure the the starts with "Assets/"