UnityStandaloneFileBrowser icon indicating copy to clipboard operation
UnityStandaloneFileBrowser copied to clipboard

Windows Standalone with IL2CPP does not work

Open skjalgsm opened this issue 7 years ago • 6 comments

image image image

Changing from IL2CPP to mono and the build completes successfully

skjalgsm avatar Nov 12 '18 21:11 skjalgsm

I have the same problem but im on mono :(

ahmedkhalf avatar Dec 27 '18 12:12 ahmedkhalf

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

ahmedkhalf avatar Dec 27 '18 12:12 ahmedkhalf

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

static-x avatar Mar 27 '19 08:03 static-x

I can't either 2019.3.13

sergiosolorzano avatar May 15 '20 04:05 sergiosolorzano

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."

marck0zz avatar Dec 10 '20 00:12 marck0zz

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.

  • Unity 2021.1.9f1
  • IL2CPP
  • .NET 4.X or .NET Standard 2.0
  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

shivaduke28 avatar Jun 06 '21 14:06 shivaduke28