Skip to content

Commit

Permalink
fix: no error context in Multi Pass Rendering error
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 authored Aug 20, 2023
1 parent 95ddad3 commit b4d6619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Editor/Processors/SkinnedMeshes/MeshInfo2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ private void SetMaterials(Renderer renderer)

// TODO: Remove this error once this is supported
if (sourceMaterials.Length > SubMeshes.Count)
BuildReport.LogFatal("Multi Pass Rendering of one SubMesh is NOT Supported YET.");
BuildReport.LogFatal("Multi Pass Rendering of one SubMesh is NOT Supported YET.")
?.WithContext(renderer);
}

[Conditional("UNITY_ASSERTIONS")]
Expand Down

0 comments on commit b4d6619

Please sign in to comment.