Skip to content

Commit 2369bb4

Browse files
fix(core): resolve SceneHandle ambiguous reference in Unity 6 (#589)
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 Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e64961d commit 2369bb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnityProject/Packages/com.jasonxudeveloper.jengine.core/Runtime/Bootstrap.Common.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
using JEngine.Core.Update;
3030
using UnityEngine.SceneManagement;
3131
using YooAsset;
32+
using SceneHandle = YooAsset.SceneHandle;
3233

3334
namespace JEngine.Core
3435
{

0 commit comments

Comments
 (0)