Skip to content

hack#823

Open
sindharta wants to merge 2 commits intomasterfrom
test-decal-hack
Open

hack#823
sindharta wants to merge 2 commits intomasterfrom
test-decal-hack

Conversation

@sindharta
Copy link
Copy Markdown
Collaborator

(cherry picked from commit 403ebaf)

(cherry picked from commit 403ebaf)
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts Unity Toon Shader graphics test infrastructure to support XR MockHMD render-mode switching on macOS URP test runs, addressing a Metal decal-related rendering constraint.

Changes:

  • Added a new assembly reference in the graphics test .asmdef to support MockHMD usage.
  • Introduced a URP + macOS-specific workaround to set MockHMD render mode to MultiPass for decal scenes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
com.unity.toon-graphics-test/Runtime/Unity.ToonShader.GraphicsTest.asmdef Adds an additional assembly reference GUID required for the new MockHMD usage in tests.
com.unity.toon-graphics-test/Runtime/UTSGraphicsTests.cs Adds URP macOS logic to configure MockHMD render mode for decal scenes before enabling XR.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread com.unity.toon-graphics-test/Runtime/UTSGraphicsTests.cs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants