Skip to content

Commit

Permalink
Merge pull request #348 from anatawa12/anatawa12-patch-1
Browse files Browse the repository at this point in the history
fix: no error context in Multi Pass Rendering error
  • Loading branch information
anatawa12 authored Aug 20, 2023
2 parents 95ddad3 + c41e5a5 commit eef0da9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-PRERELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- No error context in Multi Pass Rendering error `#348`

### Security

Expand Down
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 eef0da9

Please sign in to comment.