Skip to content

Commit 4453890

Browse files
authored
Merge pull request #8140 from Unity-Technologies/internal/2021.3/staging
Internal/2021.3/staging
2 parents f55be63 + f6cd568 commit 4453890

File tree

92 files changed

+6562
-650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+6562
-650
lines changed

Packages/com.unity.render-pipelines.core/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
Version Updated
1111
The version number for this package has increased due to a version update of a related graphics package.
1212

13+
## [12.1.15] - 2025-02-13
14+
15+
This version is compatible with Unity 2021.3.49f1.
16+
17+
### Fixed
18+
- Rendering Debugger - Keep the correct selected panel when entering and exiting from playmode.
19+
- Avoid that the same volume can be registered more than 1 time in the VolumeManager.
20+
1321
## [12.1.14] - 2024-04-03
1422

1523
This version is compatible with Unity 2021.3.38f1.

Packages/com.unity.render-pipelines.core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.unity.render-pipelines.core",
33
"description": "SRP Core makes it easier to create or customize a Scriptable Render Pipeline (SRP). SRP Core contains reusable code, including boilerplate code for working with platform-specific graphics APIs, utility functions for common rendering operations, and shader libraries. The code in SRP Core is use by the High Definition Render Pipeline (HDRP) and Universal Render Pipeline (URP). If you are creating a custom SRP from scratch or customizing a prebuilt SRP, using SRP Core will save you time.",
4-
"version": "12.1.15",
4+
"version": "12.1.16",
55
"unity": "2021.3",
66
"displayName": "Core RP Library",
77
"dependencies": {

Packages/com.unity.render-pipelines.high-definition-config/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
Version Updated
1111
The version number for this package has increased due to a version update of a related graphics package.
1212

13+
## [12.1.15] - 2025-02-13
14+
15+
This version is compatible with Unity 2021.3.49f1.
16+
17+
Version Updated
18+
The version number for this package has increased due to a version update of a related graphics package.
19+
1320
## [12.1.14] - 2024-04-03
1421

1522
This version is compatible with Unity 2021.3.38f1.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "com.unity.render-pipelines.high-definition-config",
33
"description": "Configuration files for the High Definition Render Pipeline.",
4-
"version": "12.1.15",
4+
"version": "12.1.16",
55
"unity": "2021.3",
66
"displayName": "High Definition RP Config",
77
"dependencies": {
8-
"com.unity.render-pipelines.core": "12.1.15"
8+
"com.unity.render-pipelines.core": "12.1.16"
99
}
1010
}

Packages/com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
Version Updated
1111
The version number for this package has increased due to a version update of a related graphics package.
1212

13+
## [12.1.15] - 2025-02-13
14+
15+
This version is compatible with Unity 2021.3.49f1.
16+
17+
### Changed
18+
- Transparent materials now appear opaque when using Mipmap Streaming debug views for increased clarity.
19+
20+
### Fixed
21+
- Fixed graphical issue when resizing Reflection Probe sizes on macOS
22+
- Fixed an issue where the Mipmap Streaming debug views would show up incorrectly when certain features were enabled (SRP Batcher, Volumetric Fog, Volumetric Clouds, ...).
23+
- Fixed an issue where certain Mipmap Streaming debug views (for example: "Mip Count") would not show up correctly on Metal.
24+
- Reimporting ShaderGraph assets no longer triggers a UnityVCS/Perfoce local checkout.
25+
- Fixed sun flicker where the sun is close to cloud boundaries.
26+
- Added clamp to HairAngleWorld to prevent nan from FastASin.
27+
- Fixed an issue where cascade shadows and distance shadowmask were not blended properly.
28+
- Fixed wrong SSR when using a shader graph with a clear coat value of 0.
29+
- Fixed HDRP sky rendering when Camera Relative Rendering is disabled.
30+
- Fixed black line artifacts on top of the screen with DRS and downsampled SSAO.
31+
- Fixed an issue where the padding in the Lighting window was different between tabs.
32+
1333
## [12.1.14] - 2024-04-03
1434

1535
This version is compatible with Unity 2021.3.38f1.

Packages/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Getting-Started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ HDRP ray tracing in Unity has the following limitations:
283283
- Ray tracing isn't supported when rendering [Reflection Probes](Reflection-Probe.md).
284284
- HDRP doesn't support [orthographic projection](HDRP-Camera.md). If you enable orthographic projection mode, you might experience rendering problems for Transparent Materials, volumetrics and planar reflections.
285285
- Ray Traced and Screen Space effects won't appear recursively in [Ray Traced Reflections](Ray-Traced-Reflections.md), [Ray Traced Global Illumination](Ray-Traced-Global-Illumination.md) or [Recursive Ray Tracing](Ray-Tracing-Recursive-Rendering.md). This means, for example, you won't be able to see [Screen Space Global Illumination](Override-Screen-Space-GI.md) in [ray-traced reflection](Ray-Traced-Reflections.md).
286+
- Doesn't support water.
286287

287288
### Unsupported shader graph nodes for ray tracing
288289

Packages/com.unity.render-pipelines.high-definition/Documentation~/Ray-Tracing-Path-Tracing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ HDRP path tracing in Unity 2020.2 has the following limitations:
183183
- MSAA.
184184
- [Graphics.DrawMesh](https://docs.unity3d.com/ScriptReference/Graphics.DrawMesh.html).
185185
- [Streaming Virtual Texturing](https://docs.unity3d.com/Documentation/Manual/svt-streaming-virtual-texturing.html).
186-
186+
- Vertex animation, for example wind deformation of vegetation.
187+
187188
### Unsupported shader graph nodes for path tracing
188189

189190
When building your custom shaders using shader graph, some nodes are incompatible with ray/path tracing. You need either to avoid using them or provide an alternative behavior using the [ray tracing shader node](SGNode-Raytracing-Quality). Here is the list of the incompatible nodes:

Packages/com.unity.render-pipelines.high-definition/Editor/Sky/HDLightingWindowEnvironmentSection.cs

Lines changed: 13 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using System;
99
using System.Collections.Generic;
1010
using System.Linq;
11+
using System.Reflection;
1112

1213
namespace UnityEditor.Rendering.HighDefinition
1314
{
@@ -16,16 +17,7 @@ class HDLightingWindowEnvironmentSectionEditor : LightingWindowEnvironmentSectio
1617
{
1718
class Styles
1819
{
19-
public static GUIStyle headerStyle;
20-
static Styles()
21-
{
22-
headerStyle = new GUIStyle(EditorStyles.foldoutHeader);
23-
headerStyle.fontStyle = FontStyle.Bold;
24-
headerStyle.fontSize = 12;
25-
headerStyle.margin = new RectOffset(17, 0, 0, 0);
26-
headerStyle.padding = new RectOffset(16, 1, 0, 0);
27-
headerStyle.fixedHeight = 21;
28-
}
20+
public static readonly GUIStyle inspectorTitle = "IN Title";
2921
}
3022

3123
class SerializedStaticLightingSky
@@ -78,6 +70,8 @@ bool toggleValue
7870
}
7971
}
8072

73+
static MethodInfo k_FoldoutTitlebar;
74+
8175
public override void OnEnable()
8276
{
8377
m_SerializedActiveSceneLightingSky = new SerializedStaticLightingSky(GetStaticLightingSkyForScene(EditorSceneManager.GetActiveScene()));
@@ -149,35 +143,20 @@ public override void OnInspectorGUI()
149143

150144
void DrawGUI()
151145
{
152-
Rect mainSeparator = EditorGUILayout.GetControlRect(GUILayout.Height(1));
153-
mainSeparator.xMin -= 3;
154-
mainSeparator.xMax += 4;
155-
EditorGUI.DrawRect(mainSeparator, EditorGUIUtility.isProSkin
156-
? new Color32(26, 26, 26, 255)
157-
: new Color32(127, 127, 127, 255));
158-
159-
Rect line = EditorGUILayout.GetControlRect();
160-
line.xMin -= 3;
161-
line.xMax += 4;
162-
line.y -= 2;
163-
line.yMax += 4;
146+
if (k_FoldoutTitlebar == null)
147+
{
148+
var flags = BindingFlags.NonPublic | BindingFlags.Static;
149+
Type[] args = new Type[] { typeof(Rect), typeof(GUIContent), typeof(bool), typeof(bool) };
150+
k_FoldoutTitlebar = typeof(EditorGUI).GetMethod("FoldoutTitlebar", flags, null, args, null);
151+
}
164152

165-
toggleValue = EditorGUI.Foldout(line, toggleValue, EditorGUIUtility.TrTextContent("Environment (HDRP)", "Sky lighting environment for active Scene"), Styles.headerStyle);
153+
var labelRect = GUILayoutUtility.GetRect(GUIContent.none, Styles.inspectorTitle, GUILayout.ExpandWidth(true));
154+
var label = EditorGUIUtility.TrTextContent("Environment (HDRP)", "Sky lighting environment for active Scene");
166155

167-
EditorGUI.DrawRect(line, EditorGUIUtility.isProSkin
168-
? new Color(1f, 1f, 1f, 0.03f)
169-
: new Color(1f, 1f, 1f, 0.2f));
156+
toggleValue = (bool)k_FoldoutTitlebar.Invoke(null, new object[] { labelRect, label, toggleValue, true });
170157

171158
if (m_ToggleValue)
172159
{
173-
Rect separator = EditorGUILayout.GetControlRect(GUILayout.Height(1));
174-
separator.xMin -= 3;
175-
separator.xMax += 4;
176-
separator.y -= 1;
177-
EditorGUI.DrawRect(separator, EditorGUIUtility.isProSkin
178-
? new Color32(48, 48, 48, 255)
179-
: new Color32(186, 186, 186, 255));
180-
181160
++EditorGUI.indentLevel;
182161

183162
//cannot use SerializeProperty due to logic in the property

Packages/com.unity.render-pipelines.high-definition/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.unity.render-pipelines.high-definition",
33
"description": "The High Definition Render Pipeline (HDRP) is a high-fidelity Scriptable Render Pipeline built by Unity to target modern (Compute Shader compatible) platforms. HDRP utilizes Physically-Based Lighting techniques, linear lighting, HDR lighting, and a configurable hybrid Tile/Cluster deferred/Forward lighting architecture and gives you the tools you need to create games, technical demos, animations, and more to a high graphical standard.",
4-
"version": "12.1.15",
4+
"version": "12.1.16",
55
"unity": "2021.3",
66
"displayName": "High Definition RP",
77
"dependencies": {
@@ -11,10 +11,10 @@
1111
"com.unity.modules.animation": "1.0.0",
1212
"com.unity.modules.imageconversion": "1.0.0",
1313
"com.unity.modules.terrain": "1.0.0",
14-
"com.unity.render-pipelines.core": "12.1.15",
15-
"com.unity.shadergraph": "12.1.15",
16-
"com.unity.visualeffectgraph": "12.1.15",
17-
"com.unity.render-pipelines.high-definition-config": "12.1.15"
14+
"com.unity.render-pipelines.core": "12.1.16",
15+
"com.unity.shadergraph": "12.1.16",
16+
"com.unity.visualeffectgraph": "12.1.16",
17+
"com.unity.render-pipelines.high-definition-config": "12.1.16"
1818
},
1919
"keywords": [
2020
"graphics",

Packages/com.unity.render-pipelines.universal/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
Version Updated
1111
The version number for this package has increased due to a version update of a related graphics package.
1212

13+
## [12.1.15] - 2025-02-13
14+
15+
This version is compatible with Unity 2021.3.49f1.
16+
17+
### Fixed
18+
- Fixed an issue where cookie sampling looks corrupt when targeting mobile platforms.
19+
- Fixed compiler error when using single precision on Mobile targets
20+
- Disable fallback behavior on FSR EASU shader to prevent build errors on machines with old GPUs
21+
- Reduced banding on FSR upscaled render target by changing render target formats
22+
- Fixed an issue where glClientWaitSync: Expected application to have kicked everything until job: 96089 (possibly by calling glFlush)" are thrown in the Android Player on some devices with PowerVR Rogue GE8320 GPU.
23+
- Fixed camera offset in the UI editor for the RenderObject RenderFeature.
24+
- Fixed shadow-map sampling artifacts present when using the Unlit DrawMode in the SceneView.
25+
- Disabled depth priming for cameras with depth only render targets.
26+
- Fixed multiview support for the XR Occlusion Mesh pass.
27+
- Stop spamming about c-buffer layout mispatch in GPU-instancing-enabled speed tree materials when enabling Rendering Layers.
28+
- Fixed a redundant empty line in a tooltip for Cast Shadows toggle in the URP Asset for Additional lights.
29+
- Fixed sorting the Reflection Probe by resolution.
30+
- Universal RP: Fixed an issue where Camera view is not rendered on PowerVR Rogue GE8320 GPU'S if Shadows are enabled in URP Asset and Camera stack contains Overlay Camera's.
31+
- Fixed light cookie texture memory leak when entering Playmode.
32+
- Fixed Implicit truncation of vector type shader warning.
33+
1334
## [12.1.14] - 2024-04-03
1435

1536
This version is compatible with Unity 2021.3.38f1.

0 commit comments

Comments
 (0)