Skip to content

No apps can perform this action #26

@Isaac-dot

Description

@Isaac-dot

Reproduction steps
If I press the file load button, it will show "No apps can perform this action" like the following screen shot
image
image

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

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions