Unity Serialize Curve, Tick () hook up and occupies the main thread about two minutes.