void OnEnable()
        {
            if (profile == null)
            {
                profile = new DiffusionProfile("Diffusion Profile");
            }

            profile.Validate();
            UpdateCache();
        }
        void OnEnable()
        {
            if (profile == null)
            {
                profile = new DiffusionProfile(true);
            }

            profile.Validate();
            UpdateCache();

#if UNITY_EDITOR
            if (m_Version != Version.Last)
            {
                TryToUpgrade();
            }
            UnityEditor.Experimental.Rendering.HDPipeline.DiffusionProfileHashTable.UpdateDiffusionProfileHashNow(this);
#endif
        }