Skip to content

Commit

Permalink
fix: workaround for #791
Browse files Browse the repository at this point in the history
  • Loading branch information
miwarnec committed Apr 10, 2019
1 parent 659eeb2 commit 5c850aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Assets/Mirror/Editor/Weaver/CompilationFinishedHook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ static void OnCompilationFinished(string assemblyPath, CompilerMessage[] message

foreach (string unityAsmRef in unityAsm.compiledAssemblyReferences)
{
dependencyPaths.Add(Path.GetDirectoryName(unityAsmRef));
// including NetStandard dependencies causes a stack overflow
// in the Weaver: https://github.com/vis2k/Mirror/issues/791
if (!unityAsmRef.Contains("NetStandard"))
dependencyPaths.Add(Path.GetDirectoryName(unityAsmRef));
}
}

Expand Down

0 comments on commit 5c850aa

Please sign in to comment.