yasirkula / UnityNativeFilePicker

A native Unity plugin to import/export files from/to various document providers on Android & iOS
MIT License
294 stars 32 forks source link

Not support with visionOS #52

Open Phantomxm2021 opened 9 months ago

Phantomxm2021 commented 9 months ago

Description of the bug

An error occurs when running the code below.

[[UnityGetMainWindow() rootViewController]  presentViewController:filePicker animated:YES completion:nil];
No scene size for <UnityDefaultViewController: 0x15f5f3310>
StopwatchSupport/XRSheetHostManager.swift:99: Fatal error: No source scene for <UIWindow: 0x15f5f1c50; frame = (0 0; 1366 1024); gestureRecognizers = <NSArray: 0x281a2d320>; layer = <UIWindowLayer: 0x281a2d080>>

Platform specs

Please provide the following info if this is a Unity 3D repository.

Additional info

Please check Logcat (Android) or Xcode console (iOS) for any meaningful error messages and include them here.

yasirkula commented 9 months ago

Thank you for the Issue. Please note that this Issue may stay open for a long time because I have neither Vision Pro nor a Mac workstation.