public void ReadFrom(ref MyOctreeStorage.ChunkHeader header, System.IO.Stream stream, ref bool isOldFormat)
        {
            m_data.Version = stream.ReadInt64();
            m_data.Seed    = stream.ReadInt64();
            m_data.Radius  = stream.ReadDouble();
            string generator = stream.ReadString();

            if (m_data.Version != STORAGE_VERSION)
            {
                isOldFormat = true;
            }

            var def = MyDefinitionManager.Static.GetDefinition <MyPlanetGeneratorDefinition>(MyStringHash.GetOrCompute(generator));

            if (def == null)
            {
                throw new Exception(String.Format("Cannot load planet generator definition for subtype '{0}'.", generator));
            }

            Generator = def;

            Init();
        }