Add warning if we can't find scene object (#113)

This commit is contained in:
Paul Pacheco 2018-11-11 15:13:14 -06:00 committed by vis2k
parent f7fb8edc4e
commit ed5f00d165

View File

@ -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;
}