public void LoadUMA() { if (string.IsNullOrEmpty(saveString)) { return; } if (useCompressedString) { AvatarDefinition adf = AvatarDefinition.FromCompressedString(compressedString, '|'); Avatar.LoadAvatarDefinition(adf); Avatar.BuildCharacter(false); // don't restore old DNA... } else if (useAvatarDefinition) { Avatar.LoadAvatarDefinition(avatarString); Avatar.BuildCharacter(false); // We must not restore the old DNA } else { Avatar.LoadFromRecipeString(saveString); } }