private void DeserializeMap(byte[] data)
    {
        if (_objectSpawner == null)
        {
            Debug.LogError("There are no object spawner in scene");
            return;
        }

        using (var m = new MemoryStream(data))
        {
            using (var reader = new BinaryReader(m))
            {
                _objectSpawner.LoadNoVersion(new DataReader(reader, 0));
            }
        }
    }