diff --git a/Assets/YooAsset/Runtime/AssetsPackage.cs b/Assets/YooAsset/Runtime/AssetsPackage.cs index 3d32883..82f63c1 100644 --- a/Assets/YooAsset/Runtime/AssetsPackage.cs +++ b/Assets/YooAsset/Runtime/AssetsPackage.cs @@ -150,7 +150,7 @@ namespace YooAsset { var editorSimulateModeParameters = parameters as EditorSimulateModeParameters; if (string.IsNullOrEmpty(editorSimulateModeParameters.SimulatePatchManifestPath)) - throw new Exception($"${editorSimulateModeParameters.SimulatePatchManifestPath} is null or empty."); + throw new Exception($"{nameof(editorSimulateModeParameters.SimulatePatchManifestPath)} is null or empty."); } if (parameters is HostPlayModeParameters)