gkngkc / UnityStandaloneFileBrowser

A native file browser for unity standalone platforms
MIT License
2.01k stars 317 forks source link

Windows Standalone with IL2CPP does not work #50

Open skjalgsm opened 5 years ago

skjalgsm commented 5 years ago

image image image

Changing from IL2CPP to mono and the build completes successfully

ahmedkhalf commented 5 years ago

I have the same problem but im on mono :(

ahmedkhalf commented 5 years ago

nevermind i just need to switch to .net 2.0 rather than .net 2.0 subset

static-x commented 5 years ago

Confirm. I can't build with Scripting backend IL2CPP. The same error: ArgumentException: The Assembly Mono.WebBrowser is referenced by System.Windows.Forms

sergiosolorzano commented 4 years ago

I can't either 2019.3.13

marck0zz commented 3 years ago

I think this doesn,t work with IL2CPP backend. I have tried with .NET 4.x and .NET (standar) 2.0 on Unity 2019.4.15 (LTS).

With Mono everything works fine.

What are the right configuration to make it work with IL2CPP? because on the "README" says that "Mono/IL2CPP backends supported."

shivaduke28 commented 3 years ago

I had the same problem, and solved by this. I don't understand how dll works in Unity very well, but anyway it works in my local.

  1. make directory Assets/Plugins
  2. copy Mono.WebBlorwser.dll and Mono.Posix.dll from <Your Unity Installation Directory>\Unity\2021.1.9f1\Editor\Data\MonoBleedingEdge\lib\mono\4.7-api\
  3. confirm in the inspector window that these the dll assets are used for Standalone (maybe windows only?) and Editor is excluded.

dllinspector