diff --git a/Mirror/Editor/Mirror.Editor.csproj b/Mirror/Editor/Mirror.Editor.csproj index 2c42c8a5d..593fbe70d 100644 --- a/Mirror/Editor/Mirror.Editor.csproj +++ b/Mirror/Editor/Mirror.Editor.csproj @@ -20,6 +20,7 @@ TRACE;DEBUG;ENABLE_UNET prompt 4 + 4 pdbonly diff --git a/Mirror/Runtime/Mirror.Runtime.csproj b/Mirror/Runtime/Mirror.Runtime.csproj index 671cb2b60..8b5fb5ce2 100644 --- a/Mirror/Runtime/Mirror.Runtime.csproj +++ b/Mirror/Runtime/Mirror.Runtime.csproj @@ -22,6 +22,7 @@ TRACE;DEBUG;ENABLE_UNET prompt 4 + 4 pdbonly diff --git a/Mirror/Tests/Mirror.Tests.csproj b/Mirror/Tests/Mirror.Tests.csproj index aa4a4dba9..e51c670c6 100644 --- a/Mirror/Tests/Mirror.Tests.csproj +++ b/Mirror/Tests/Mirror.Tests.csproj @@ -18,6 +18,7 @@ DEBUG; prompt 4 + 4 true diff --git a/Mirror/Weaver/Mirror.Weaver.csproj b/Mirror/Weaver/Mirror.Weaver.csproj index ec1bdf8d8..b56205f15 100644 --- a/Mirror/Weaver/Mirror.Weaver.csproj +++ b/Mirror/Weaver/Mirror.Weaver.csproj @@ -18,6 +18,7 @@ prompt 4 true + 4 none diff --git a/Mirror/Weaver/Weaver.cs b/Mirror/Weaver/Weaver.cs index f25667583..c509d93a8 100644 --- a/Mirror/Weaver/Weaver.cs +++ b/Mirror/Weaver/Weaver.cs @@ -1740,7 +1740,7 @@ static bool Weave(string assName, IEnumerable dependencies, IAssemblyRes catch (Exception ex) { // workaround until Unity fixes C#7 compiler compability with the UNET weaver - UnityEngine.Debug.LogWarning($"Unable to delete file {pdb}: {ex.Message}"); + UnityEngine.Debug.LogWarning(string.Format("Unable to delete file {0}: {1}", pdb, ex.Message)); } }