gkngkc/UnityStandaloneFileBrowser

DLL not found on mac

TheNaotagrey opened this issue · 4 comments

One of my mac user reports the following errors when clicking on buttons which call the package.

DllNotFoundException: StandaloneFileBrowser
  at (wrapper managed-to-native) SFB.StandaloneFileBrowserMac.DialogSaveFilePanel(string,string,string,string)
  at SFB.StandaloneFileBrowserMac.SaveFilePanel (System.String title, System.String directory, System.String defaultName, SFB.ExtensionFilter[] extensions) [0x0000a] in <b010f06cb1ea4067aaae78dd54267f48>:0 
  at SFB.StandaloneFileBrowser.SaveFilePanel (System.String title, System.String directory, System.String defaultName, SFB.ExtensionFilter[] extensions) [0x00000] in <b010f06cb1ea4067aaae78dd54267f48>:0 
... my code

Never got the issue on Windows (not Linux users so far)
Is this an error on my part ?

I just came across the same error and was able to solve it:

In the project go to Assets/StandaloneFileBrowser/Plugins/StandaloneFileBrowser.bundle and then choose "Load on startup" in the Plugin load settings and click apply.

Bildschirmfoto 2021-06-04 um 10 26 06

Hope it helps!

I"m seeing the same issue, but the fix isn't working for me, would be a shame to have to switch to a different plugin , but I've been unable to get this to work for hours.

I have a mac I'm testing on locally.

The fix worked for me!

I"m seeing the same issue, but the fix isn't working for me, would be a shame to have to switch to a different plugin , but I've been unable to get this to work for hours.

I have a mac I'm testing on locally.

It works for me after restart Unity