UnityNativeFilePicker
UnityNativeFilePicker copied to clipboard
Meta Quest dialog closing
Description of the bug
Hi. I installed the plugin a few weeks ago and it was running well on a Meta Quest 3. Recently something changed and the file picking dialog is closing immediately after I try to open it. I reverted to my code version when it was working well and the problem persists, so my hypothesis is that some update on the Meta Quest 3 broke this. Sometimes a window frame titled "Frame resolver" becomes visible. If I click my file picking button repeatedly sometimes the app goes into pause and the Meta UI shows the file picking dialog, but picking a file doesn't have any effect. The same is happening with UnitySimpleFileBrowser. Am I the only one experiencing this?
Reproduction steps
Opening a file picking dialog.
Platform specs
- Unity version: 6000.0.43f1
- Platform: Android
- Device: Meta Quest 3
- How did you download the plugin: git cloned and copied Plugins
Thanks
I've never heard this plugin working well on Quest. If there is a solution, it requires me to iterate on this in quick succession and that's not possible without a headset of mine. Though UnitySimpleFileBrowser is supposed to work fine. If you're seeing the "Browse..." button, please check out that plugin's FAQ for Quest-related entry.
Thanks for your reply. Interestingly UnityNativeFilePicker was working well until a few days ago, now both plugins fail. They just flash a screen very briefly. I don't see a browse button. I will investigate a bit more.
Hmm, that's strange. If SimpleFileBrowser isn't up-to-date, can you try updating it? I can think of two possibilities: either synchronous permission dialog is causing this (it's made asynchronous in the latest update) or the permission dialog itself is causing this (you can disable it via FileBrowser.AskPermissions=false).
I just downloaded the plugin yesterday. Disabling it the permission dialog doesn't seem to make a difference. I have recorded the problem ( https://youtube.com/shorts/nWRoVeH-6sg ), and by pausing it in the right frame you can see that the window that flashes briefly is not the file picking dialog, but the app pause screen, so it looks like the headset is pausing and unpausing the app quickly when the file picker tries to load
I'm expecting issues in this plugin but not on SimpleFileBrowser, especially when AskPermissions is set to false. Because no native code will be executed at that point. Though gotta admit that it's the first time I've heard about issues in AskPermissions.
I reverted to an old version of Unity and started a blank Core VR project. Same problem. I strongly suspect this is related to some recent update on the Quest, but strangely I can't find related issues anywhere