internal void CustomeReceiver(string result) { int index = -1; string[] parts = result.Split('|'); string load = null; if (parts.Length == 1) { //picker result load = parts[0]; } else { if (parts.Length != 2 || !int.TryParse(parts[0], out index)) { Debug.LogError("Selected callback was not valid for the executed action"); return; } load = parts[1]; //manually remove the entry imagePicker.RemoveReceivedEntry(index); } if (string.IsNullOrEmpty(load)) { //use logcat to get more information Debug.Log("SDCard full or invalid file selected, please try again"); return; } StartCoroutine(loadImage(load)); }