diff --git a/com.unity.render-pipelines.core/CHANGELOG.md b/com.unity.render-pipelines.core/CHANGELOG.md index d72774df83a..f9d60d0150b 100644 --- a/com.unity.render-pipelines.core/CHANGELOG.md +++ b/com.unity.render-pipelines.core/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Fixed issue when changing volume profiles at runtime with a script (case 1364256). +- Fixed XR support in CoreUtils.DrawFullscreen function. ## [13.1.1] - 2021-10-04 diff --git a/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs b/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs index 0b3a95abe98..3fd0e55389e 100644 --- a/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs +++ b/com.unity.render-pipelines.core/Runtime/Utilities/CoreUtils.cs @@ -944,7 +944,7 @@ public static void DrawFullScreen(CommandBuffer commandBuffer, Material material RenderTargetIdentifier colorBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0) { - commandBuffer.SetRenderTarget(colorBuffer); + commandBuffer.SetRenderTarget(colorBuffer, 0, CubemapFace.Unknown, -1); commandBuffer.DrawProcedural(Matrix4x4.identity, material, shaderPassId, MeshTopology.Triangles, 3, 1, properties); }