diff --git a/com.unity.render-pipelines.core/Runtime/Volume/VolumeProfile.cs b/com.unity.render-pipelines.core/Runtime/Volume/VolumeProfile.cs index a687a86fb4d..4e97e2f1f92 100644 --- a/com.unity.render-pipelines.core/Runtime/Volume/VolumeProfile.cs +++ b/com.unity.render-pipelines.core/Runtime/Volume/VolumeProfile.cs @@ -75,6 +75,10 @@ public VolumeComponent Add(Type type, bool overrides = false) throw new InvalidOperationException("Component already exists in the volume"); var component = (VolumeComponent)CreateInstance(type); +#if UNITY_EDITOR + component.hideFlags = HideFlags.HideInInspector | HideFlags.HideInHierarchy; + component.name = type.Name; +#endif component.SetAllOverridesTo(overrides); components.Add(component); isDirty = true; diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 288b1580fbe..5442becefc5 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -23,6 +23,7 @@ The version number for this package has increased due to a version update of a r - Adding an "Include For Ray Tracing" toggle on lights to allow the user to exclude them when ray tracing is enabled in the frame settings of a camera. - Added fog volumetric scattering support for path tracing. - Added new algorithm for SSR with temporal accumulation +- Fix volument component creation via script. ### Fixed - Fixed an issue where the Exposure Shader Graph node had clipped text. (case 1265057)