Skip to content

Commit 862ac81

Browse files
committed
Ensure the spawn manager has the SceneHandle object in scope
1 parent 9d6adb2 commit 862ac81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

com.unity.netcode.gameobjects/Runtime/Spawning/NetworkSpawnManager.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
using System.Runtime.CompilerServices;
66
using System.Text;
77
using UnityEngine;
8+
#if SCENE_MANAGEMENT_SCENE_HANDLE_AVAILABLE
9+
using UnityEngine.SceneManagement;
10+
#endif
811

912
namespace Unity.Netcode
1013
{

0 commit comments

Comments
 (0)