mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Add warning if we can't find scene object (#113)
This commit is contained in:
parent
f7fb8edc4e
commit
ed5f00d165
@ -194,6 +194,10 @@ internal static NetworkIdentity SpawnSceneObject(uint sceneId)
|
||||
s_SpawnableObjects.Remove(sceneId);
|
||||
return foundId;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogWarning("Could not find scene object with sceneid:" + sceneId);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user