Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal/2022.3/staging #7940

Merged
merged 106 commits into from Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
c9ae81f
[2022.2 backport] [HDRP] Fix box-shape spotlight culling planes when …
simonb-unity May 10, 2023
cab0da3
[VFX] Fix GPU hang caused by VFX shadows being rendered before the VF…
gabrieldelacruz May 12, 2023
fd2d06f
[2022.2] URP Forward+ Reflection Probe Node flickering
pbbastian May 12, 2023
2138744
[Backport 2022.2][Jira # UUM-33260] Fixing initialization of lens fla…
kecho May 13, 2023
2c6db7e
[Backport 2022.2][Jira # UUM-34487] Remove pbr dof define causing art…
kecho May 13, 2023
ca7d952
2022.2/documentation staging
RobJessop May 14, 2023
0057e4e
[Backport][2022.2][RPW] Prevent Preview generation until Pipeline is …
kirill-titov-u May 15, 2023
fab29b2
[2022.2] Fix APV initialization
adrien-de-tocqueville May 15, 2023
d77d2b9
Backport: fix for FXAA, film grain, dither, EASU, CAS and RCAS with H…
kaychang-unity May 16, 2023
ac0c98c
[Backport 22.2] Release TAA resource OnDestroy().
eh-unity May 18, 2023
ea62e95
Backport fix PS5 fullscreen test HDRP
alelievr May 18, 2023
8036ca7
2022.2: Fix while loading a prefab on an iOS device, a Metal Shader e…
May 18, 2023
c3c98da
[Backport 2022.2][HDRP] Bunch of fixes for HDRP (Version 17)
sebastienlagarde May 18, 2023
10038ef
2022.2: Add DOTS_INSTANCING_ON define to HDRP/Lit FullScreenDebug pass
nicolaslangley May 19, 2023
f27b47d
2022.2/documentation staging
RobJessop May 23, 2023
57aa5d7
[2022.2] Fix DOTS instancing compatibility problems in Universal2D pa…
JussiKnuuttila May 23, 2023
643a49e
[URP][2022.2] Fixing Documentation URLs inside the Editor (UUM-30252)
ellioman May 23, 2023
955c11f
[22.2] SRP CI - Update iphones to minspec (model: 8)
theo-pnv May 23, 2023
ebc4ca3
[backport][2022.2][Fix] UUM-34875 nullptr lens flare data driven 2d
skhiat May 23, 2023
a4de9fe
Bump graphics packages to 14.0.8
theo-pnv May 25, 2023
d1e9947
2022.2/rpfoundation/materials leaking in corev2
Charles-H-Unity May 26, 2023
54e1288
[URP][2022.2] Fixing an issue with switching Volume Update modes (UUM…
ellioman May 26, 2023
1bc5bb6
[2022.2] [URP] Strip whole shader exclusive to HDR output and cleaned…
jmekh May 26, 2023
8225103
[Backport][2022.2][VFX] Fixed min and range attributes not reflected …
julienamsellem May 30, 2023
3353b79
2022.2: [URP] Fix for the UI being drawn twice in some scenarios on U…
Saiprasad945 May 30, 2023
6028508
2022.3/documentation staging
RobJessop May 30, 2023
9684fc6
[2022.3][URP] Removing a AssetDatabase.SaveAssets() call in ShaderBui…
ellioman May 31, 2023
f6ee652
[content automatically redacted] touching PlatformDependent folder
May 31, 2023
39f5aff
[Backport 22.3][UUM-33700] Remove serialization and cache vertices an…
kennytann May 31, 2023
61999b1
[URP][2022.2] Preview camera fixes
manuele-bonanno May 31, 2023
cef44dc
Reset taa jitter cycle on history reset.
eh-unity May 31, 2023
b740635
[HDRP][2022.3] Fix obsolete HDRenderPipelineRuntimeResource
sebastienlagarde Jun 1, 2023
33d22e5
Updated HDProbes to Support Custom Resolutions
jrs-unity Jun 6, 2023
638ef17
[Backport][22.3][RPW] Fix issue where renaming a VolumeProfile would …
arttu-peltonen Jun 6, 2023
2dcff2f
2022.3: [URP] Sorting of screen space decals fix
cprasad-rythmos Jun 6, 2023
190386c
2022.3: [URP] Fixed redundant blit is used when postFX is disabled th…
knatraj-rythmos Jun 7, 2023
315c5a3
[2022.3][Backport] graphics/hd/sk/bugfixes/uum 34875 nullptr lens fla…
skhiat Jun 7, 2023
5d35dc4
[2022.3][HDRP] Bunch of fixes for HDRP (Version 18)
sebastienlagarde Jun 7, 2023
7741f73
URP refimage update for BatchRenderGroup
maximblagay Jun 7, 2023
e286426
[2022.3][VFX] Misc small fixes
julienf-unity Jun 8, 2023
8f1f812
[URP][2022.2] Fixing keyword stripping and runtime use for Main & Add…
ellioman Jun 8, 2023
77399fe
[Backport] Fix the incorrect base color of decals for transparency.
Jun 8, 2023
1f92cc7
Add DOTS_INSTANCING support to DebugReplacement shader
nicolaslangley Jun 9, 2023
3d6e194
2022.3: [RTHandles] Adding missing Stencil Format param
knatraj-rythmos Jun 12, 2023
f97bf3f
ColorSpace conversion applied twice in URP
kaychang-unity Jun 12, 2023
90fdc44
2022.3/documentation staging
RobJessop Jun 13, 2023
b9535f6
[Backport 2022.3][HDRP] SpeedTree Motion Vectors
volkan-unity Jun 13, 2023
0d71e58
[Backport][2022.3]Fix popup showing multiple time in multiselection
kirill-titov-u Jun 14, 2023
fd0b96a
2022.3: Fix strips in SG (tangent + buffer type)
Jun 14, 2023
0be5722
[Backport][2022.2][VFX] Added link to documentation for all nodes whe…
julienamsellem Jun 15, 2023
99619ec
[metal] Backport Foveated and SPI rendering to 2022.3
mircea-catana-unity Jun 15, 2023
7f236ad
Fix normal buffer underwater
adrien-de-tocqueville Jun 15, 2023
09645c2
2022.3: "Assertion failed" errors are thrown when searching in the Sc…
Saiprasad945 Jun 20, 2023
2fff597
[2022.3][metal] Backport Previous Frame Remap Functions for Foveated …
mircea-catana-unity Jun 21, 2023
d53a7be
Improve HDRP performances by removing the sort flag QuantizedFrontTo…
alelievr Jun 21, 2023
ae7d8ae
[2022.3] [SRP] Add Lens Flares properties to RP Assets to be able to …
remi-chapelain Jun 21, 2023
9c574bb
[2022.3/metal] Fixed fbfetch support on intelmac editor when targetin…
alexey-unity Jun 21, 2023
317ca75
[2022.3] Add open button on probe volume message
adrien-de-tocqueville Jun 21, 2023
bee9bf3
2022.3:Fix issue with spurious SRP Changed callback invocation
ptalluri-rythmos Jun 22, 2023
ec968c6
[2022.3] [APV] Fixed baking APV first time
adrien-de-tocqueville Jun 23, 2023
cdf0562
[Backport][2022.2][RPW][Analytics]Rendering Debugger analytics
alex-vazquez-unity3d Jun 23, 2023
d09a9bb
2022.3: Fix Screen Space particles are flipped on XY
gsanthamoorthy-rythmos Jun 23, 2023
990082c
[2022.3] [URP] Fixed Overlay UI rendering & debug views using the rea…
jmekh Jun 23, 2023
4d38939
[2022.3][HDRP] Bunch of fixes for HDRP (Version 19)
sebastienlagarde Jun 23, 2023
e3874fd
Backport Color Buffer History Fixes from PR #26139 to 2022.3
gmitrano-unity Jun 23, 2023
4d5e4b8
2022.3/documentation staging
RobJessop Jun 23, 2023
6ee828b
2022.3: Fix wrong metapass when using planar/triplanar projection in…
Jun 27, 2023
30866f4
2022.3: [VFX] Output Update end of line warning
Jun 27, 2023
2a05acf
2022.3: Fixed Rendering Debugger runtime UI getting occluded by user …
Saiprasad945 Jun 28, 2023
7988fa6
[Backport 2022.3][UUM-39471][URP 2D] Fix Renderer2DData docs link
kennytann Jun 28, 2023
5706fc9
[backport] fixing BRG & entities.graphics on GLES + Adreno or PowerVR
arnaudcarre Jun 28, 2023
a139caf
[Backport][22.3][RPW] Prevent errors when debug input actions are rem…
arttu-peltonen Jul 1, 2023
120fc00
2022.3/documentation staging
RobJessop Jul 1, 2023
e9d268b
[Backport 2022.3][UUM-37441][URP 2D] Fix Objects are being rendered t…
kennytann Jul 3, 2023
396572e
[URP] Adding R32SFloat support checks before creating the actual dept…
jonuuukas Jul 3, 2023
83ddee9
[Backport][2022.2][RPW]Stripping shaders from another SRP
alex-vazquez-unity3d Jul 5, 2023
6c88fc6
[2022.3][HDRP][DXR] Backport support for MIS and anisotropy in volume…
pmavridis Jul 5, 2023
d778681
[2022.3][URP][Backport] Fixed removal of missing renderer feature
Nzollner Jul 6, 2023
fba38a9
[2022.3 backport] 2022.2/graphics/urp/backport/fix lensflare ogl
eh-unity Jul 10, 2023
db78be0
2022.3/documentation staging
RobJessop Jul 10, 2023
f8ee882
2022.3: Fix for ArgumentNullException and Assertion failed errors thr…
sgomasankar-rythmos Jul 11, 2023
8544d34
[Backport][2022.3][VFX] Deleted shadergraph keeps exposed properties …
julienamsellem Jul 16, 2023
d25d244
2022.3/documentation staging
RobJessop Jul 16, 2023
0a3788c
Updated BatchRendererGroup_URP test project
lorin-atzberger-unity Jul 17, 2023
fca3938
[Backport 2022.3] - Missing warning for CubemapResolution when baking…
LagueKristin Jul 18, 2023
540201e
[2022.3][shadergraph] improve graph concretization perf
Jul 18, 2023
a73d351
[URP][2022.3] Rendering Layers fixes (UUM-39831 & UUM-34728)
ellioman Jul 18, 2023
44ce9fb
[URP][2022.3] Fixing Shader Errors in Shadows.hlsl (UUM-37723)
ellioman Jul 18, 2023
a4a4967
[Backport][2022.3][VFX] Split Compute shader instancing batches when …
gabrieldelacruz Jul 20, 2023
b672cef
[22.3][UUM-14400][URP 2D] Account for color texture needed in custom …
kennytann Jul 20, 2023
c065ef6
2022.3: Failure to cull VFX commands when no renderer in the CullResults
knatraj-rythmos Jul 24, 2023
0ecad27
[22.3] Remove DOTS related code from Built-in RP ShaderGraph codegen
vincent-breysse Jul 24, 2023
23d70cb
2022.3/documentation staging
RobJessop Jul 24, 2023
4e921e5
[2022.3] Fix Shadergraphs not supporting surface gradients from decals
adrien-de-tocqueville Jul 26, 2023
738df4b
[22.3] Backport SRP QV jobs and Code coverage
Jul 26, 2023
e68c1bd
[Backport 2022.3][UUM-40888] Fix Pixel Perfect Camera error when scal…
kennytann Jul 28, 2023
5941007
[Backport 22.3] Fix _Color ShaderProperty
eh-unity Jul 28, 2023
1bd1885
2022.3/visionos/fixes
thep3000 Jul 31, 2023
c207e25
2022.3/documentation staging
RobJessop Jul 31, 2023
2346eb9
[22.3] Added RTHandle pooling to URP code path.
thomas-zeng Aug 1, 2023
6dc29a9
2022.3: FPTL and light cluster Limits
cprasad-rythmos Aug 2, 2023
1a95fe2
[2022.3][VFX] Batch of fixes : Texture declaration - Camera Buffers a…
ludovic-theobald Aug 2, 2023
63591e8
Fix custom pass injection point after opaque and sky
alelievr Aug 2, 2023
5a41ade
[Backport][2022.3][RPW] Added 2 callbacks for Pipeline Creation and D…
kirill-titov-u Aug 3, 2023
edbe4cf
[Backport 2022.3][Jira # UUM-41081] Adding support to read light inte…
kecho Aug 4, 2023
1619282
2022.3/documentation staging
RobJessop Aug 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions Packages/com.unity.render-pipelines.core/CHANGELOG.md
Expand Up @@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Version Updated
The version number for this package has increased due to a version update of a related graphics package.

## [14.0.7] - 2023-05-23

This version is compatible with Unity 2022.2.22f1.

### Fixed
- Fixed Decal Projector Editor fields so they are now saved when editing a prefab.
- Revert Property for animation curves on Volume Components
- Fixed an IES Importer issue producing incorrect results.
- Crash on keywords::LocalKeywordState::ResetWithSpace when shader contains Grab Pass.
- Fixed SRPs not being able to build using mode -nographics and -batchmode, since lens flare global texture prevents this from happening.

## [14.0.6] - 2023-03-24

This version is compatible with Unity 2022.2.13f1.
Expand Down
@@ -0,0 +1,38 @@
using System.Diagnostics;
using UnityEngine.Analytics;

namespace UnityEditor.Rendering.Analytics
{
// schema = com.unity3d.data.schemas.editor.analytics.uDebugManagerWidgetUsedAnalytic_v1
// taxonomy = editor.analytics.uDebugManagerWidgetUsedAnalytic.v1
internal class DebugManagerWidgetUsedAnalytic
{
const int k_MaxEventsPerHour = 1000;
const int k_MaxNumberOfElements = 1000;
const string k_VendorKey = "unity.srp";

[DebuggerDisplay("{query_path} - {value}")]
class Data
{
internal const string k_EventName = "uDebugManagerWidgetUsedAnalytic";

// Naming convention for analytics data
public string query_path;
public string value;
}

public static void Send(string path, object value)
{
if (EditorAnalytics.enabled &&
EditorAnalytics.RegisterEventWithLimit(Data.k_EventName, k_MaxEventsPerHour, k_MaxNumberOfElements, k_VendorKey) == AnalyticsResult.Ok)
{
using (UnityEngine.Pool.GenericPool<Data>.Get(out var data))
{
data.query_path = path;
data.value = value.ToString();
EditorAnalytics.SendEventWithLimit(Data.k_EventName, data);
}
}
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -0,0 +1,78 @@
using System;
using System.Diagnostics;
using System.Linq;
using UnityEngine.Analytics;
using UnityEngine.Rendering;

namespace UnityEditor.Rendering.Analytics
{
// schema = com.unity3d.data.schemas.editor.analytics.uDebugManagerWindowLifetimeAnalytic_v1
// taxonomy = editor.analytics.uDebugManagerWindowLifetimeAnalytic.v1
internal class DebugManagerWindowLifetimeAnalytic
{
const int k_MaxEventsPerHour = 10;
const int k_MaxNumberOfElements = 1000;
const string k_VendorKey = "unity.srp";

private static DateTime?[] timeStamps = new DateTime?[2] { null, null};

[InitializeOnLoadMethod]
static void SubscribeToDebugManagerOpenCloseWindows()
{
DebugManager.windowStateChanged += OnWindowStateChanged;
AssemblyReloadEvents.beforeAssemblyReload += OnBeforeAssemblyReload;
}

private static void OnBeforeAssemblyReload()
{
AssemblyReloadEvents.beforeAssemblyReload -= OnBeforeAssemblyReload;
DebugManager.windowStateChanged -= OnWindowStateChanged;
}

private static void OnWindowStateChanged(DebugManager.UIMode windowMode, bool open)
{
try
{
if (!timeStamps[(int)windowMode].HasValue)
{
timeStamps[(int)windowMode] = DateTime.Now;
}
else
{
Send(windowMode, timeStamps[(int)windowMode].Value);
timeStamps[(int)windowMode] = null;
}
}
catch
{
// ignored, do not let analytics throw an error
}
}

[DebuggerDisplay("{window_mode} - {seconds_opened}")]
class Data
{
internal const string k_EventName = "uDebugManagerWindowLifetimeAnalytic";

// Naming convention for analytics data
public string window_mode;
public int seconds_opened;
}

static void Send(DebugManager.UIMode windowMode, DateTime start)
{
var elapsed = DateTime.Now - start;

if (EditorAnalytics.enabled &&
EditorAnalytics.RegisterEventWithLimit(Data.k_EventName, k_MaxEventsPerHour, k_MaxNumberOfElements, k_VendorKey) == AnalyticsResult.Ok)
{
using (UnityEngine.Pool.GenericPool<Data>.Get(out var data))
{
data.window_mode = windowMode.ToString();
data.seconds_opened = elapsed.Seconds;
EditorAnalytics.SendEventWithLimit(Data.k_EventName, data);
}
}
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -19,9 +19,6 @@ public static void Drawer_Rendering_StopNaNs(ISerializedCamera p, Editor owner)
public static void Drawer_Rendering_Dithering(ISerializedCamera p, Editor owner)
{
EditorGUILayout.PropertyField(p.dithering, Styles.dithering);

if (PlayerSettings.useHDRDisplay && p.dithering.boolValue)
EditorGUILayout.HelpBox(Styles.unsupportedDitheringWithHDROutputWarning, MessageType.Warning);
}

/// <summary>Draws Culling mask related fields on the inspector</summary>
Expand Down
Expand Up @@ -54,9 +54,6 @@ public static class Styles
/// exposureTarget content
/// </summary>
public static readonly GUIContent exposureTarget = EditorGUIUtility.TrTextContent("Exposure Target", "The object used as a target for centering the Exposure's Procedural Mask metering mode when target object option is set (See Exposure Volume Component).");

/// <summary>Unity does not support dithering with HDR display output.</summary>
public static readonly string unsupportedDitheringWithHDROutputWarning = L10n.Tr("Unity does not support dithering with HDR display output.");
}
}
}
Expand Down
@@ -1,5 +1,6 @@
using System;
using System.Text;
using UnityEditor.Rendering.Analytics;
using UnityEngine;
using UnityEngine.Rendering;

Expand Down Expand Up @@ -184,6 +185,8 @@ public override void End(DebugUI.Widget widget, DebugState state)
var w = Cast<TField>(widget);
var s = Cast<TState>(state);
Apply(w, s, value);

DebugManagerWidgetUsedAnalytic.Send(widget.queryPath, value);
}
}
}
Expand Down
Expand Up @@ -59,18 +59,11 @@ sealed class DebugWindow : EditorWindow, IHasCustomMenu
static Dictionary<Type, Type> s_WidgetStateMap; // DebugUI.Widget type -> DebugState type
static Dictionary<Type, DebugUIDrawer> s_WidgetDrawerMap; // DebugUI.Widget type -> DebugUIDrawer

static bool s_Open;
public static bool open
{
get => s_Open;
private set
{
if (s_Open ^ value)
OnDebugWindowToggled?.Invoke(value);
s_Open = value;
}
get => DebugManager.instance.displayEditorUI;
private set => DebugManager.instance.displayEditorUI = value;
}
static event Action<bool> OnDebugWindowToggled;

[DidReloadScripts]
static void OnEditorReload()
Expand All @@ -79,9 +72,6 @@ static void OnEditorReload()

//find if it where open, relink static event end propagate the info
open = (Resources.FindObjectsOfTypeAll<DebugWindow>()?.Length ?? 0) > 0;
if (OnDebugWindowToggled == null)
OnDebugWindowToggled += DebugManager.instance.ToggleEditorUI;
DebugManager.instance.ToggleEditorUI(open);
}

static void RebuildTypeMaps()
Expand Down Expand Up @@ -141,9 +131,6 @@ static bool ValidateMenuItem()

void OnEnable()
{
if (OnDebugWindowToggled == null)
OnDebugWindowToggled += DebugManager.instance.ToggleEditorUI;

open = true;

DebugManager.instance.refreshEditorRequested = false;
Expand Down
Expand Up @@ -146,7 +146,7 @@ public override void OnInspectorGUI()

if (!ProbeReferenceVolume.instance.isInitialized || !ProbeReferenceVolume.instance.enabledBySRP)
{
EditorGUILayout.HelpBox("The probe volumes feature is disabled. The feature needs to be enabled on the used HDRP asset.", MessageType.Warning, wide: true);
ProbeVolumeEditor.APVDisabledHelpBox();
return;
}

Expand Down
Expand Up @@ -158,8 +158,6 @@ void Initialize()
m_ProbeSceneData = m_SerializedObject.FindProperty(sceneData.parentSceneDataPropertyName);

InitializeBakingSetList();
InitializeScenarioList();
UpdateScenariosStatuses();

Lightmapping.lightingDataCleared += UpdateScenariosStatuses;
EditorSceneManager.sceneOpened += OnSceneOpened;
Expand Down Expand Up @@ -487,10 +485,6 @@ void RefreshAfterUndo()
}

InitializeBakingSetList();
InitializeScenarioList();
UpdateScenariosStatuses();

OnBakingSetSelected(m_BakingSets);

Repaint();
}
Expand Down Expand Up @@ -529,6 +523,8 @@ void OnBakingSetSelected(ReorderableList list)
// Update left panel data
EditorPrefs.SetInt(k_SelectedBakingSetKey, list.index);
var set = GetCurrentBakingSet();
if (set == null)
return;

m_ScenesInSet = new ReorderableList(set.sceneGUIDs, typeof(string), true, true, true, true);
m_ScenesInSet.drawHeaderCallback = (rect) => EditorGUI.LabelField(rect, "Scenes", EditorStyles.largeLabel);
Expand Down Expand Up @@ -619,7 +615,10 @@ void TryAddScene(SceneData scene)

ProbeVolumeSceneData.BakingSet GetCurrentBakingSet()
{
int index = Mathf.Clamp(m_BakingSets.index, 0, sceneData.bakingSets.Count - 1);
int index = Mathf.Max(m_BakingSets.index, 0);
if (index >= sceneData.bakingSets.Count)
return null;

return sceneData.bakingSets[index];
}

Expand Down Expand Up @@ -647,19 +646,9 @@ bool AllSetScenesAreLoaded()

void OnGUI()
{
// TODO: add the toolbar with search field for the list
// DrawToolbar();

string apvDisabledErrorMsg = "The Probe Volume is not enabled.";
var renderPipelineAsset = GraphicsSettings.renderPipelineAsset;
if (renderPipelineAsset != null && renderPipelineAsset.GetType().Name == "HDRenderPipelineAsset")
{
apvDisabledErrorMsg += " Make sure it is enabled in the HDRP Global Settings and in the HDRP asset in use.";
}

if (!ProbeReferenceVolume.instance.isInitialized || !ProbeReferenceVolume.instance.enabledBySRP)
{
EditorGUILayout.HelpBox(apvDisabledErrorMsg, MessageType.Error);
ProbeVolumeEditor.APVDisabledHelpBox();
return;
}

Expand Down Expand Up @@ -729,17 +718,19 @@ void DrawRightPanel()
OpenProbeVolumeDebugPanel();
}

EditorGUILayout.Space();
SanitizeScenes();
m_ScenesInSet.DoLayoutList();
var set = GetCurrentBakingSet();
if (set != null)
{
EditorGUILayout.Space();
SanitizeScenes();
m_ScenesInSet.DoLayoutList();

EditorGUILayout.Space();
m_Scenarios.Select(GetCurrentBakingSet().lightingScenarios.IndexOf(ProbeReferenceVolume.instance.lightingScenario));
m_Scenarios.DoLayoutList();
EditorGUILayout.Space();
m_Scenarios.Select(GetCurrentBakingSet().lightingScenarios.IndexOf(ProbeReferenceVolume.instance.lightingScenario));
m_Scenarios.DoLayoutList();
}

var set = GetCurrentBakingSet();
var sceneGUID = sceneData.GetFirstProbeVolumeSceneGUID(set);
if (sceneGUID != null)
if (set != null && sceneData.GetFirstProbeVolumeSceneGUID(set) != null)
{
EditorGUILayout.Space();

Expand Down Expand Up @@ -805,6 +796,10 @@ void DelayCreateAsset()
EditorGUI.indentLevel--;
}
}
else if (set == null)
{
EditorGUILayout.HelpBox("You need to create at least one baking set to bake Probe Volumes.", MessageType.Info, true);
}
else
{
EditorGUILayout.HelpBox("You need to assign at least one scene with probe volumes to configure the baking settings", MessageType.Error, true);
Expand All @@ -813,7 +808,8 @@ void DelayCreateAsset()
EditorGUILayout.EndScrollView();

EditorGUILayout.Space();
DrawBakeButton();
using (new EditorGUI.DisabledScope(set == null))
DrawBakeButton();

EditorGUILayout.EndVertical();
}
Expand Down