After converting my Unity project to IL2CPP, I receive the following error when trying to load a file
NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: System.Windows.Forms.CommonDialog::OwnerWndProc at System.Windows.Forms.CommonDialog.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <00000000000000000000000000000000>:0 at SFB.StandaloneFileBrowserWindows.OpenFilePanel (System.String HOMKPMAEFCI, System.String DKDBCAEHMJI, SFB.ExtensionFilter[] FDMFDONNFPK, System.Boolean BGHPAMDHIGC) [0x00000] in <00000000000000000000000000000000>:0 at SFB.StandaloneFileBrowser.OpenFilePanel (System.String HOMKPMAEFCI, System.String DKDBCAEHMJI, SFB.ExtensionFilter[] FDMFDONNFPK, System.Boolean BGHPAMDHIGC) [0x00000] in <00000000000000000000000000000000>:0
After converting my Unity project to IL2CPP, I receive the following error when trying to load a file
NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: System.Windows.Forms.CommonDialog::OwnerWndProc at System.Windows.Forms.CommonDialog.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <00000000000000000000000000000000>:0 at SFB.StandaloneFileBrowserWindows.OpenFilePanel (System.String HOMKPMAEFCI, System.String DKDBCAEHMJI, SFB.ExtensionFilter[] FDMFDONNFPK, System.Boolean BGHPAMDHIGC) [0x00000] in <00000000000000000000000000000000>:0 at SFB.StandaloneFileBrowser.OpenFilePanel (System.String HOMKPMAEFCI, System.String DKDBCAEHMJI, SFB.ExtensionFilter[] FDMFDONNFPK, System.Boolean BGHPAMDHIGC) [0x00000] in <00000000000000000000000000000000>:0