UnityStandaloneFileBrowser
UnityStandaloneFileBrowser copied to clipboard
IL2CPP Support, crashes only in IL2CPP
In the editor itself and in a mono build everything works fine, but when building for IL2CPP the game crashes.
When debugging in Visual Studio, I get:
Unhandled exception at 0x000007FEFEF49A12 (comdlg32.dll) in Galactic Lander.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
Using .NET 4.x Equivalent and .NET 4.x for Api Compability Level. I didn't touch the import settings either.
Are you using latest (1.1) release? I did some fixes for IL2CPP recently. If you are, could you give more info about the bug.
- What is your unity version?
- Is your compiler configuration Debug or Release?
- What is your reproduce steps? Is exception occurs at dialog opening or after dialog is closed?
If you can give me more details, I'll look into it.
Sure! I'll be happy to provide more information!
I am using the latest (1.1) release, double checked.
- 2018.2.11f1 (64bit)
- Release
- Exception occurs at dialog opening
I have also played around with this a little and even tried to open a dialog from a new DLL I specifically made for this, but same error occured (using the DLLs provided by your repo)
I think the fault lies with the DLLs, although I am not sure... just got a feeling.
Oh, and if it means anything at all/is relevant, I get this warning message when compiling: System.Windows.Forms.dll assembly is referenced by user code, but is not supported on StandaloneWindows64 platform. Various failures might follow.
I usually ignore it since the file dialog does work in a mono build of the game, just not IL2CPP