Skip to content

Black screen when selecting file on Meta Quest 2 #55

Open

Description

@JensDijkgraaf

While creating a VR application for the Meta Quest 2 (Android), I tried to implement the file browser to select a txt file and read the contents at runtime. This all works great, apart from the fact that I am getting a black screen when selecting the file. Nothing breaks, as I can press the Quest button to get back into the game and the file is correctly read. Is there any way to fix this? I would like it to be seamless without the black screen and having to press the Quest button.

Unity version: 2022.3.16f1
Using OpenXR and XR interaction toolkit

Activity

  1. yasirkula commented on May 14, 2024

    @yasirkula
    Owner

    I unfortunately don't have Quest 2 to reproduce this issue myself. This issue has been reported a couple of times before and there isn't a known solution so far. If you wish, you can use SimpleFileBrowser for the time being (see its FAQ entry). And if you can spot potentially useful logcat logs, please share them.

  2. JensDijkgraaf commented on May 15, 2024

    @JensDijkgraaf
    Author

    Thanks for the quick response! I tried it out and for VR I need to make sure the canvas is not on world space and scale it accordingly, which is a bit of pain but I will make it work. Thanks for the help and the quick response!

  3. yasirkula commented on May 15, 2024

    @yasirkula
    Owner

    Awesome! I'll keep this issue open until NativeFilePicker's incompatibility with Quest is resolved.

  4. changed the title [-]Black screen when selecting file[/-] [+]Black screen when selecting file on Meta Quest 2[/+] on May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions