-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reproduction steps
If I press the file load button, it will show "No apps can perform this action" like the following screen shot
Platform specs
Please provide the following info if this is a Unity 3D repository.
- Unity version: e.g. 2018.3.1f1
- Platform: Android
- Device: MI 9 SE, Android 9
- How did you download the plugin: * Asset Store*
Additional info
this is the button function.
`using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class FilePickerSystem : MonoBehaviour
{
public string FinalPath;
public void LoadFile()
{
string FileType = NativeFilePicker.ConvertExtensionToFileType("*");
NativeFilePicker.Permission permission = NativeFilePicker.PickFile((path) =>
{
if (path == null)
Debug.Log("Operation cancelled");
else
{
FinalPath = path;
Debug.Log("Picked file: " + FinalPath);
}
}, new string[] { FileType });
}
}
`
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working