From 7fc0c7364d8dc39e26eac3c3b79797b139f09817 Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Thu, 18 Dec 2025 18:44:42 +0900 Subject: [PATCH] fix: support Unity 6000.4 --- .../UniversalUIEffectSubTarget.cs | 5 +++++ UIEffectURP/Packages/manifest.json | 2 +- UIEffectURP/Packages/packages-lock.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Packages/src/Samples~/ShaderGraph Support (Unity 6 URP)~/UniversalUIEffectSubTarget.cs b/Packages/src/Samples~/ShaderGraph Support (Unity 6 URP)~/UniversalUIEffectSubTarget.cs index bacf13a..9d45313 100644 --- a/Packages/src/Samples~/ShaderGraph Support (Unity 6 URP)~/UniversalUIEffectSubTarget.cs +++ b/Packages/src/Samples~/ShaderGraph Support (Unity 6 URP)~/UniversalUIEffectSubTarget.cs @@ -1,6 +1,11 @@ using System; using UnityEditor.Rendering.BuiltIn.ShaderGraph; using UnityEditor.ShaderGraph; +#if UNITY_6000_4_OR_NEWER +using GUID = UnityEngine.GUID; +#else +using GUID = UnityEditor.GUID; +#endif namespace UnityEditor.Rendering.Universal.ShaderGraph { diff --git a/UIEffectURP/Packages/manifest.json b/UIEffectURP/Packages/manifest.json index 726c4c6..afcd303 100644 --- a/UIEffectURP/Packages/manifest.json +++ b/UIEffectURP/Packages/manifest.json @@ -5,7 +5,7 @@ "com.coffee.nano-monitor": "https://github.com/mob-sakai/Coffee.Internal.git?path=Packages/NanoMonitor", "com.coffee.symbolic-linker": "https://github.com/mob-sakai/Coffee.Internal.git?path=Packages/SymbolicLinker", "com.coffee.ui-effect": "file:../../Packages/src", - "com.unity.ide.rider": "3.0.35", + "com.unity.ide.rider": "3.0.38", "com.unity.render-pipelines.universal": "17.0.4", "com.unity.test-framework": "1.5.1", "com.unity.timeline": "1.8.8", diff --git a/UIEffectURP/Packages/packages-lock.json b/UIEffectURP/Packages/packages-lock.json index b6a6556..013ee0a 100644 --- a/UIEffectURP/Packages/packages-lock.json +++ b/UIEffectURP/Packages/packages-lock.json @@ -67,7 +67,7 @@ "dependencies": {} }, "com.unity.ide.rider": { - "version": "3.0.35", + "version": "3.0.38", "depth": 0, "source": "registry", "dependencies": {