KOGA Mitsuhiro
KOGA Mitsuhiro
is this the message you saw? https://github.com/flathub/io.neovim.nvim/blob/master/neovim-first-run.txt In this case, it is a message that is displayed only for the first time due to the mechanism unique to the flatpak...
When I downloaded Ookii.Dialog.dll from below and replaced it, the following error message was output. https://www.ookii.org/software/dialogs/ ``` InvalidProgramException: Invalid IL code in (wrapper managed-to-native) Ookii.Dialogs.Interop.IFileDialog:Advise (intptr,Ookii.Dialogs.Interop.IFileDialogEvents,uint&): IL_0025: ldloc 65535 (wrapper...
Since the dialog can be opened in unity2023.1, it may be a bug in unity2023.2.
@Thaina I deleted the Ookii.Dialogs.dll and replaced it with the source, but the same error occurs, so I don't think it is caused by the dotnet standard update.
I have submitted a bug report to Unity regarding this error. Currently under review, there was no problem up to Unity2023.2.0a14, and it was found that an error occurred from...
A bug has been registered on the issue tracker. Please vote for early fix. https://issuetracker.unity3d.com/issues/windows-com-throws-the-invalidprogramexception-when-using-ookii-dot-dialogs-library
@zadinvit You can use [OpenFileDialog](https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.openfiledialog?view=windowsdesktop-8.0) with System.Windows.Forms.dll. However, the old style dialog is displayed.
@anonymous2585 I tried it with Unity2023.2.12f1 and the dialog worked. This is that Unity project. https://www.dropbox.com/t/52h90sq5zGbxrvvf
@anonymous2585 Yes, unfortunately in the mono version of FileDialog, the AutoUpgradeEnabled property does not work, so the old style dialog is displayed. https://github.com/Unity-Technologies/mono/blob/unity-main/mcs/class/System.Windows.Forms/System.Windows.Forms/FileDialog.cs#L387-L392 Therefore, you have two options: use Unity...
@achimmihca ```diff diff --git a/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs b/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs index 2bdb8c218..b1e379220 100644 --- a/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs +++ b/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs @@ -4,7 +4,13 @@ using System; using System.IO; using System.Windows.Forms; using System.Runtime.InteropServices; +#if UNITY_2023_2_0 || UNITY_2023_2_1 ||...