From 335ba6c245b8e1cd38da0698f0ec1edac65d463a Mon Sep 17 00:00:00 2001 From: Mehmet Soyturk Date: Sat, 26 Jul 2025 23:25:03 +0300 Subject: [PATCH] Removed reference to CoreKeywordDescriptors.ForwardPlus for Unity 6.1 --- Editor/ShaderGraph/Targets/UniversalSimpleLitSubTarget.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Editor/ShaderGraph/Targets/UniversalSimpleLitSubTarget.cs b/Editor/ShaderGraph/Targets/UniversalSimpleLitSubTarget.cs index 59a66de..6e074bd 100644 --- a/Editor/ShaderGraph/Targets/UniversalSimpleLitSubTarget.cs +++ b/Editor/ShaderGraph/Targets/UniversalSimpleLitSubTarget.cs @@ -872,7 +872,8 @@ static class SimpleLitKeywords { CoreKeywordDescriptors.LightLayers }, { CoreKeywordDescriptors.DebugDisplay }, { CoreKeywordDescriptors.LightCookies }, -#if UNITY_2022_2_OR_NEWER +#if UNITY_6000_1_OR_NEWER +#elif UNITY_2022_2_OR_NEWER { CoreKeywordDescriptors.ForwardPlus }, #else { CoreKeywordDescriptors.ClusteredRendering },