From 7780e55fdbe7e0e3707e0d617c729cdc3c3d6eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JasonXuDeveloper=20-=20=E5=82=91?= Date: Wed, 28 Jan 2026 10:13:14 +1100 Subject: [PATCH] fix(core): resolve SceneHandle ambiguous reference in Unity 6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add using alias to explicitly specify YooAsset.SceneHandle, fixing CS0104 compilation error when UnityEngine.SceneManagement.SceneHandle conflicts with YooAsset.SceneHandle in Unity 6000.x. Fixes #587 Co-Authored-By: Claude Opus 4.5 Signed-off-by: JasonXuDeveloper - 傑 --- .../Runtime/Bootstrap.Common.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/UnityProject/Packages/com.jasonxudeveloper.jengine.core/Runtime/Bootstrap.Common.cs b/UnityProject/Packages/com.jasonxudeveloper.jengine.core/Runtime/Bootstrap.Common.cs index ca146002..d645c51a 100644 --- a/UnityProject/Packages/com.jasonxudeveloper.jengine.core/Runtime/Bootstrap.Common.cs +++ b/UnityProject/Packages/com.jasonxudeveloper.jengine.core/Runtime/Bootstrap.Common.cs @@ -29,6 +29,7 @@ using JEngine.Core.Update; using UnityEngine.SceneManagement; using YooAsset; +using SceneHandle = YooAsset.SceneHandle; namespace JEngine.Core {