Unity.Entities.EntityManager.PrepareForDeserialize C# (CSharp) Method

PrepareForDeserialize() private method

private PrepareForDeserialize ( ) : void
return void
        public void PrepareForDeserialize()
        {
            if (Debug.EntityCount != 0)
            {
                using (var allEntities = GetAllEntities())
                {
                    throw new System.ArgumentException($"PrepareForDeserialize requires the world to be completely empty, but there are {allEntities.Length}.\nFor example: {Debug.GetEntityInfo(allEntities[0])}");
                }
            }

            GetCheckedEntityDataAccess()->ManagedComponentStore.PrepareForDeserialize();
        }