Mega-Fiers Failed to get initial shape's vertices data

i have 18 shapes of my MegaObj, i wanna initialize them when program start and save each shape’s vertices data, i made the effort do that, but failed, it seems that it update shapes after each frame, what can i do, can you help me?

Not sure why you are asking this here, surely submit a support ticket at the assets authors website if you need help.

using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class BodyFitInitChange : MonoBehaviour
{
    public MegaMorph curMega;
    public MeshFilter mf;
    string[] megaNames;
    Dictionary<int, Vector3[]> sizeVerDic = new Dictionary<int, Vector3[]>();
    string[] _sizeStr = { "0#", "2#", "4#", "6#", "8#", "10#", "12#", "14#", "16#", "18#" };
    int curSltGrid = -1;
    int lastSltGrid = -1;

    void Awake()
    {
        megaNames = curMega.GetChannelNames();
        for (int i = 0; i < _sizeStr.Length; i++)
        {
            SetInitSize(i);
            sizeVerDic.Add(i, mf.sharedMesh.vertices);
        }
        SetInitSize(-1);
	}

    void SetInitSize(int tmpSize)
    {
        for (int i = 0; i < 10; i++)
        {
            if (i != tmpSize)
            {
                curMega.SetPercent(i, 0);
            }
            else
            {
                curMega.SetPercent(i, 100);
            }
        }
    }

    void OnGUI()
    {
        curSltGrid = GUILayout.SelectionGrid(curSltGrid, _sizeStr, 2);
        if (curSltGrid != lastSltGrid)
        {
            CompareVertices(curSltGrid);
            lastSltGrid = curSltGrid;
        }
    }

    void CompareVertices(int cSize)
    {
        Vector3[] tmpMV = mf.sharedMesh.vertices;
        Vector3[] tmpInit = sizeVerDic[cSize];
        int tmpDiffCount = 0;
        for (int i = 0; i < tmpMV.Length; i++)
        {
            if (tmpMV _!= tmpInit*)*_

{
++tmpDiffCount;
}
}
Debug.LogError(“################### " + tmpDiffCount + " ###################”);
}
}
@MikeUpchat