Open hippogamesunity opened 4 years ago
It's works, thank very much. But after bulid the dialog can not show in program but only in the Unity editor. Have someone ever met the same problem?
@Hshan7 omg, you're right, I've forgot to test it outside of Unity. So the only solution I've found is targeting your project to .NET 3.5 and using original DLL. Hope @gkngkc will help us.
@Hshan7 System.Windows.Forms (.NET 4.0) works with Mono Scripting Backend!
@Hshan7 System.Windows.Forms (.NET 4.0) works with Mono Scripting Backend! I switch my api compatibility level to .NET 4.x in player settings and the dialog can show. And no need to replace the System.Windows.Forms.dll or add System.Deployment.dll. Thanks for your answer.
Hoping there's some way to get this to work with IL2CPP as well.
Change Player Setting .NET to 4.0 can be solved this problem like @Hshan7 said.
A workaround suggested here doesn't work for me in Unity 2019.2.4
So I've made my own workaround and can suggest you to add it to the repo: